Load and performance test for nextjs #12973
-
Feature requestHow to test load testing and performance testing for nextjs application? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Is there any tools are available for load and performance testing |
Beta Was this translation helpful? Give feedback.
-
Hello @sai1139 . Next.js provides a function that measures performance with the Google Web Vitals performance test and reports it to your analytics service. You can read about it here |
Beta Was this translation helpful? Give feedback.
-
Hi @jensmeindertsma it will check per page metrics. Not complete application metrics |
Beta Was this translation helpful? Give feedback.
-
@Manikanta-20, if you are still looking for some answers here. Here is my take. @jensmeindertsma's recommendation is more on Real User Monitoring to keep track of Web Vital, which is helpful when an application goes live already and continuously tracks page performance. When preparing for a major release or before launching a new application, I used ApacheBench in the past in a production-like environment to figure out if auto-scaling works fine and the max concurrent users that a nextjs app could support. This is very similar to what JMeter does. I've also heard some good things about https://k6.io/ if you are familiar with Granafa, and you would use it for performance testing as well to figure out the right tuning you need for your apps. |
Beta Was this translation helpful? Give feedback.
Hello @sai1139 . Next.js provides a function that measures performance with the Google Web Vitals performance test and reports it to your analytics service. You can read about it here