Next.js Discord

Discord Forum

monitoring performance in nextjs

Unanswered
DoyteDoyenr posted this in #help-forum
Open in Discord
Do you know of any tools that can help me determine the speed of my database requests, the page load times, and the fetch time between the client and the server? I want to have an overall summary view of the application

3 Replies

Common paper wasp
I'd be curious to see if there are any 3rd party tools for this as well!
Bengal
It would be hard for one tool to do all this. And unnecessary in my opinion. As far as I know there is no real profiler for Next.
Each of the sections you want to test is profiled differently. For database speed, maybe your database provider or ORM offer that feature. Otherwise manual performance (https://nodejs.org/api/perf_hooks.html) in node is still a good tool to use.
For your page load times and requests to your server - your DevTools network tab is your bread and butter. You can of course section everything in your endpoint/page with individual performance checks.
Netherland Dwarf
^ this and lighthouse