Registry / utility / ruby-prof-flamegraph

ruby-prof-flamegraph

JSON →
library0.3.0rbrubygemsunverified

ruby-prof printer that exports to fold stacks compatible with FlameGraph.

gem install ruby-prof-flamegraph
INSTALL
IMPORT
SIG · RUBY-PROF-FLAMEGRA
R
ruby-prof-flamegraph
utilityrubyv0.3.0
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.

RubyProf::FlamegraphPrinter
require 'ruby-prof-flamegraph'

Profile code and output a flamegraph-compatible file

require 'ruby-prof' require 'ruby-prof-flamegraph' result = RubyProf.profile do # code to profile end printer = RubyProf::FlamegraphPrinter.new(result) File.open('profile.flamegraph', 'w') { |f| printer.print(f) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
ruby-prof-flamegraph — gem install ruby-prof-flamegraph · libregistry