gvl-tracing
gvl-tracing copied to clipboard
Get a timeline view of Global VM Lock usage in your Ruby app
It would be nice if not all examples were very CPU heavy. One thing that is often hard to teach about the GVL is when things can actually happen in...
Just noticed while looking at the [0.2.0 diff](https://my.diffend.io/gems/gvl-tracing/0.1.1/0.2.0) that gvl-tracing is shipping with the examples, including the traces for them. The `examples/` folder should be excluded from the shipping gem.
This is a TODO so I don't forget to report the issue observed in https://github.com/ivoanjo/gvl-tracing/pull/4#issuecomment-1196463364 to the perfetto team.
Fix #17 Paired with @byroot This PR adds support for Ruby 3.3 by using the new `rb_internal_thread_specific_get` which allows accessing data specific to a Ruby thread without requiring the GVL...
This is still WIP, but I wanted to open it up so the general approach is clear. Main oddities for me right now: - Having to free the data at...
I've spent some time thinking about potential improvements to gvl-tracing, and decided to record it here. If anyone's interested in tackling them, feel free to ask for details! * (Medium)...
* 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...