The most useful one is likely the Flame chart, but perhaps the Bubbleprof could be useful as well.
Here is an example of running clinic flame -- node main.js where main.js is one of the basic example scripts from the readme.
These charts could be generated and put in versioned folders automatically, either via a CI/CD script invoking it via the CLI, or they can programmatically generated and put in to the test suite pipeline.
Node Clinic allows you to generate really in-depth performance profiling metrics very simply: https://github.com/nearform/node-clinic
The most useful one is likely the Flame chart, but perhaps the Bubbleprof could be useful as well. Here is an example of running
clinic flame -- node main.js
wheremain.js
is one of the basic example scripts from the readme.These charts could be generated and put in versioned folders automatically, either via a CI/CD script invoking it via the CLI, or they can programmatically generated and put in to the test suite pipeline.