jlfwong / speedscope

🔬 A fast, interactive web-based viewer for performance profiles.
https://www.speedscope.app
MIT License
5.45k stars 237 forks source link

Use speedscope programmatically #475

Open jekanik opened 4 months ago

jekanik commented 4 months ago

For NodeJS service I use CPU profiler from node:inspector. In order to analyse profile, every time .cpuprofile file should be manually extracted and passed to https://www.speedscope.app/. But it would be more handy to return speedscope html after profile is ready.

Is there any possibility to use speedscope not only through CLI?

jekanik commented 3 months ago

@jlfwong hi! :)