~/talk

A Tale of Two Flamegraphs: Continuous Profiling in Ruby

Talkat RubyConf 2022 · 2022-11-29..12-01· [observability]
links:none on file
slides:none on file

Pyroscope turns rbspy samples into queryable continuous profiles by adding metadata, tagging and a UI inspired by speedscope, serializing symbol names to shrink storage and aggregating 10‑second chunks with segment trees for aggregation so queries are fast. It samples stacks (100 Hz typical), stores trees and dictionaries, and supports diff flamegraphs and sandwich views. A practical win shows changing Brotli from level 11 to 2 saved ~30% CPU. Implementation claim: Pyroscope wraps rbspy and exposes continuous profiling.

AI-written summary · about

  1. 0:00Start
  2. 4:32Two main types of profilers
  3. 7:18How Pyroscope goes from basic profiling to continuous profiling
  4. 10:48How we combined Ruby and Rust to equip rbspy for continuous profiling
  5. 14:53Continuous Profiling - Problem #1 Storage requirements
  6. 16:44Continuous Profiling - Problem #2 Query requirements
  7. 18:39Why Profiling is Important
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.