speedscope/sample/profiles
Jamie Wong f3a1c09c9b
Add support for Safari profiles (#313)
Closes #294 

This adds import for Safari/webkit profiler. Well, for Safari 13.1 for sure, I haven't done any work to check if there's been changes to the syntax.

It seems to work OK, and is already a huge improvement over profiling in Safari (which doesn't even have a flame graph, let alone something like left heavy). Sadly, the sampler resolution is only 1kHz, which is not super useful for a lot of profiling work. I made a ticket on webkit bug tracker to ask for 10kHz/configurable sampling rate: https://bugs.webkit.org/show_bug.cgi?id=214866

Another thing that's missing is that I cut out all the idle time. We could also insert layout/paint samples into the timeline by parsing `events`. But I'll leave that for another time.

<img width="1280" alt="Captura de pantalla 2020-07-28 a las 11 02 06" src="https://user-images.githubusercontent.com/183747/88643560-20c16700-d0c2-11ea-9c73-d9159e68fab9.png">
2020-09-29 14:26:01 -07:00
..
Chrome Support importing multithreaded profiles from Chrome 66 (#206) 2019-02-17 17:46:09 -08:00
Firefox Match more Firefox-internal locations (#156) 2018-09-04 17:03:55 -07:00
haskell Haskell GHC JSON format support (fixes #182) (#183) 2018-10-29 09:37:11 -07:00
Instruments add default instruments selected run number (#203) 2019-02-17 17:45:51 -08:00
linux-perf Add support for importing linux "perf script" output (#135) 2018-08-16 10:24:12 -07:00
node Import v8 cpu profile (old format) (#177) 2018-12-04 12:05:19 -08:00
pprof Add go tool pprof import support (#165) 2018-09-26 11:33:34 -07:00
Safari/13.1 Add support for Safari profiles (#313) 2020-09-29 14:26:01 -07:00
speedscope Fail loudly when profile is imported with unmatched open/close events (#273) 2020-05-23 15:56:17 -07:00
stackcollapse Allow optional CR before LF when probing collapsed stacks files (#154) 2018-09-04 20:12:27 -07:00
stackprof Add tests for importers (#56) 2018-05-29 23:53:03 -07:00
trace-event Trace event: Prevent event re-ordering from generating incorrect flamegraphs (#252) 2020-01-15 22:03:23 -08:00