4 ms·
>In our case we output the profile buffer to a file and read that into the visualization tool which is conveniently built into Chrome. (You can find more inform
by 885895 11y ago
>In our case we output the profile buffer to a file and read that into the visualization tool which is conveniently built into Chrome. (You can find more information about the tracing tool here and you can try it out by typing “chrome://tracing/” into your Chrome browser. It is designed for web page profiling, but the format of the input profile data is a simple json format that can be easily constructed from your own data.)
Clever! Never heard of doing that but it makes sense.
- Drdrdrq 11y agoAnother term for these profiling charts in Chrome is flame charts, you might be able to find even more tools by it.
- cbab 11y agoYup, basically Chrome is using an inverted flame graph (See [1] for additional infos and tools). [1] - https://github.com/brendangregg/FlameGraph https://github.com/brendangregg/FlameGraph