2017-12-08 10:51:15 +03:00
# speedscope
A high-performance interactive web-based viewer for [sampling profiles][0].
2018-01-01 21:19:39 +03:00
![Example Profile ](https://i.imgur.com/6psEeSp.png )
2017-12-08 10:51:15 +03:00
[0]: https://en.wikipedia.org/wiki/Profiling_(computer_programming)#Statistical_profilers
# Usage
Visit https://jlfwong.github.io/speedscope/, then drop a profile onto the page.
Currently accepts the same folded stack format as the original FlameGraph scripts do: https://github.com/brendangregg/FlameGraph#2-fold-stacks.
2018-01-01 21:19:39 +03:00
Also accepts CPU profiles recorded with Chrome devtools if saved with a `.json` extension.
2017-12-08 10:51:15 +03:00
For example, try dropping this file onto the browser window: https://raw.githubusercontent.com/jlfwong/speedscope/master/sample/perf-vertx-stacks-01-collapsed-all.txt
To pan, you can either scroll or click and drag.
2017-12-08 10:51:48 +03:00
2017-12-08 10:51:15 +03:00
To zoom, hold cmd & scroll, or pinch-to-zoom.