Registry / observability / stackprof

stackprof

JSON →
library0.2.28rbrubygemsunverified

A fast sampling profiler for Ruby code with CPU, wallclock, and object allocation samplers.

gem install stackprof
INSTALL
IMPORT
SIG · STACKPROF
S
stackprof
observabilityrubyv0.2.28
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

StackProf
require 'stackprof'

Profile CPU usage of a block of code.

require 'stackprof' StackProf.run(mode: :cpu, out: 'profile.dump') do # code to profile end
Debug
Known issues
gotchaStackProf requires a compiled extension and may not work on all Ruby implementations.
fix
Ensure you have a compatible Ruby (MRI) and build tools installed.
affects: >= 0
Upgrade
Version history
0.2.28latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
stackprof — gem install stackprof · libregistry