Open cheechak opened 3 years ago
Hey , Is this issue still available to take up ?
Sure, PR's welcome
Can you describe/guide a little more about tasks I have to do under this pull request ? which file I have to work upon?
I think putting it in the readme in this repo would be good. Probably a new section saying this viewer actually works for any .cpuprofile file, linking to the devtools url that cheechak shared above. If you're feeling ambitious you could give a brief example and description of the structure of the profile.
At first it may appears to end users that the .cpuprofile format consumed by the extension may be the one documented here: https://gperftools.github.io/gperftools/cpuprofile-fileformat.html
That would mean that it can be used to visualise profiles of native (non-js) applications generated with gperftools.
However, digging reveals details in the closed issue #1 revealing that the actual format used is: https://chromedevtools.github.io/devtools-protocol/tot/Profiler/#type-Profile
It would be good to make this information more visible, by mentioning it in the extension description and / or repository's readme files.
It might also be useful to provide a link to documentation of the format that is used. It seems clear that there is going to be an appetite to use this extension for visualising profiles from other sources, and knowing the correct target format is the enabling piece of information for doing that.
A guide to any applicable conversion tools, or roadmap for supporting other input formats would probably be welcomed as well.