Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/microsoft/vscode-js-profile-visualizer

A custom editor for viewing `.cpuprofile` files in VS Code
https://github.com/microsoft/vscode-js-profile-visualizer

Last synced: about 2 months ago
JSON representation

A custom editor for viewing `.cpuprofile` files in VS Code

Awesome Lists containing this project

README

        

# 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.