speedscope/README.md
2018-01-01 13:19:39 -05:00

823 B

speedscope

A high-performance interactive web-based viewer for [sampling profiles][0].

Example Profile [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.

Also accepts CPU profiles recorded with Chrome devtools if saved with a .json extension.

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.

To zoom, hold cmd & scroll, or pinch-to-zoom.