Description
Profiles Ruby code with sampling modes for CPU time, wall-clock time, and object allocations. It is useful for finding slow paths, memory-heavy code, and performance regressions.
Profiler reports can expose source paths, method names, and workload details. Use representative scenarios and keep reports private for closed-source projects.