Skip to content
TopicTracker
From bernsteinbear.comView original
TranslationTranslation

Using Perfetto in ZJIT

The article explains how the ZJIT team uses Perfetto tracing to visualize and analyze side-exits in Ruby's just-in-time compiler. It demonstrates how Perfetto helps identify performance bottlenecks by showing exit reasons and stack traces, with examples from Rails benchmarks. The implementation details include using Fuchsia trace format for efficiency and sampling to manage trace size.