firefox-devtools / profiler

Firefox Profiler — Web app for Firefox performance analysis
https://profiler.firefox.com
Mozilla Public License 2.0
1.23k stars 399 forks source link

Supporting importing Event Tracing for Windows traces (ETW, .etl, .etlx?) #3512

Open jrmuizel opened 3 years ago

jrmuizel commented 3 years ago

ETW supports doing 8kHZ CPU time sampling which is quite valuable for diagnosing problems that are shorter lived. Most UIs for viewing the produced .etl files are not very good so being able to view them in the Firefox profiler would be pretty valuable.

https://github.com/microsoft/perfview has a speedscope exporter and there's some more information on importing the traces here: https://github.com/jlfwong/speedscope/issues/217.

┆Issue is synchronized with this Jira Task

jrmuizel commented 2 years ago

I implemented this here: https://github.com/jrmuizel/etw-profiler/tree/main/etw-gecko