Project

lineprof

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Easy-to-use line profiler for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0.3.6
 Project Readme

Lineprof

Easy-to-use line profiler for Ruby.

What's this?

tmm1/rblineprof is a powerful line profiler for Ruby. But rblineprof does not include a result formatter and its API is difficult to use. This lineprof gem has a colored formatter, which is the same as rack-lineprof, and simple API.

Usage

require 'lineprof'

Lineprof.profile do
  sleep 0.001
  100.times do
    sleep 0.001
    1*2*3
    4*5*6
    7*8*9*10*11*12*13*14*15
    2**32
    2**128
  end
end

License

MIT License