Node Benchmarking tool to examine the sub requests/methods timing

644 Views Asked by At

I used the apache bench , siege and benchmark.js for the benchmarking, load test to examine.But these tools/libraries gave the overall result/time which took from start to end. I want the execution time for all the sub methods or requests calling from the main request/method.Kindly suggest any tool or library.

Thanks

1

There are 1 best solutions below

0
jackdbd On

I am not sure I understand what you mean with "sub method" execution time.

If you just want to know the percentiles of the latency of your HTTP server (Node.js or not), you can use something like autocannon.

Instead, if you want to know the execution time of the functions you call in your route handlers, you'll probably want tracing and profiling capabilities. For this you can try node-clinic (it's a suite of 3 tools) or FlameScope.

Anyway, Stack Overflow isn't the best website for open-ended questions. You might have more luck on Software Recommendations.