Update docs

This commit is contained in:
Jamie Wong 2018-01-07 19:53:36 -08:00
parent 464824f8d8
commit 6227737581

View File

@ -12,10 +12,9 @@ Given raw profiling data, speedscope allows you to interactively explore the dat
Visit https://jlfwong.github.io/speedscope/, then either browse to find a profile file or drag-and-drop one onto the page. The profiles are not uploaded anywhere -- the application is totally in-browser.
## Supported file formats:
There are two file formats currently supported:
1. The folded stack format output by the FlameGraph scripts do: https://github.com/brendangregg/FlameGraph#2-fold-stacks. Example: https://github.com/jlfwong/speedscope/blob/master/sample/perf-vertx-stacks-01-collapsed-all.txt
2. The timeline format output by Chrome developer tools: https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference#save. Example: https://github.com/jlfwong/speedscope/blob/master/sample/chrome-timeline.json
2. The timeline format output by Chrome developer tools: https://developers.google.com/web/tools/chrome-devtools/evaluate-performance/reference#save. **NOTE**: You must append a `.json` extension. Example: https://github.com/jlfwong/speedscope/blob/master/sample/chrome-timeline.json
3. The `.cpuprofile` format output by Chrome developer tools JavaScript profiler, useful for viewing flamecharts generated by Node.js applications: https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27
## Views