Open jpcamara opened 9 months ago
Once finished, this handles Add support for producing data in a format readable by the [Firefox Profiler](https://profiler.firefox.com/) or [Speedscope](https://www.speedscope.app/)
here https://github.com/ivoanjo/gvl-tracing/issues/13
Btw now that Ruby 3.3 support seems to be in good shape, I'd love to get this in as well ;) (no pressure! haha)
Firefox Profiler requires a "traceEvents" key and that every row has a "name" key (which is not required by the perfetto spec for "E" phases)
The spec doesn't require those https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/edit?pli=1 but the firefox profiler code does
WIP - it's not fully functional yet - it also is more a proof of concept right now since the changes i'll have for Ruby 3.3 will probably refactor away from thead locals, so this code will change as well