Slide 31
Slide 31 text
Pro
fi
ler choices
• Tracing pro
fi
lers
• Tracks everything, but huge
performance impact
• ruby-prof based on TracePoint
• Sampling pro
fi
lers
• Collects samples every 10-100ms,
small performance impact
• Stackprof (cpu, wall, memory)
• based on rb_pro
fi
le_frames() API
• rbspy (wall)
• runs as a separate process and reads ruby
memory (process_vm_readv(2))