🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

lineprof

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lineprof

0.1.3
Rubygems
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 22 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts