Awesome
vscode-js-profile-visualizer
A custom editor for viewing .cpuprofile
files in VS Code. Pairs well with our new JavaScript debugger.
Format of .cpuprofile
- Vscode-js-profile-visualizer works for any .cpuprofile file.
- Definition of .cpuprofile format :- https://chromedevtools.github.io/devtools-protocol/tot/Profiler/#type-Profile
Contributing
This is an npm workspace, with a core package that shares data models and some UI between extensions.
- You can use
npm run watch
to watch everything, or, for example,npm run watch:flame
, to only watch changes to the flame graph extension. - There's a launch config that runs all extensions.
npm run compile
, again with scopes likecompile:flame
, create static compilations of various packages.