Registry / utility / perftools-rb

perftools-rb

JSON →
library2.0.5rbrubygemsunverified

A sampling profiler for Ruby code based on patches to gperftools.

gem install perftools.rb
INSTALL
IMPORT
SIG · PERFTOOLS-RB
P
perftools-rb
utilityrubyv2.0.5
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.

PerfTools
require 'perftools'

Profile a block of Ruby code and save results to a file.

require 'perftools' PerfTools::CpuProfiler.start('/tmp/profile') do # code to profile end
Debug
Known issues
gotchaRequires gperftools to be installed on the system.
fix
Install gperftools via your package manager (e.g., apt-get install google-perftools).
affects: >= 2.0.0
Upgrade
Version history
2.0.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
perftools-rb — gem install perftools-rb · libregistry