vscode-js-profile-visualizer/README.md

21 строка
861 B
Markdown

# vscode-js-profile-visualizer
A custom editor for viewing `.cpuprofile` files in VS Code. Pairs well with our new [JavaScript debugger](https://github.com/microsoft/vscode-js-debug).
![](./table.png)
![](./flame.png)
## 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 like `compile:flame`, create static compilations of various packages.