Registry / utility / rblineprof

rblineprof

JSON →
library0.3.7rbrubygemsunverified

rblineprof shows you lines of code that are slow.

gem install rblineprof
INSTALL
IMPORT
SIG · RBLINEPROF
R
rblineprof
utilityrubyv0.3.7
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.

Rblineprof
require 'rblineprof'

Profile a block of code and display line-by-line timing.

require 'rblineprof' profile = Rblineprof.profile do # code to profile end profile.each do |file, lines| lines.each do |line, (calls, total, exclusive)| puts "#{file}:#{line}: #{total}ms" end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.7latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
rblineprof — gem install rblineprof · libregistry