No commit activity in last 3 years
No release in over 3 years
Rack::Profile lets you easily profile your Rack application
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 0.7.3
 Project Readme

Rack::Profile¶ ↑

Assists in profiling your rack application.

Installation¶ ↑

# install
$ gem install rack-profile

# add a use line to your builder
require 'rack/profile'
Rack::Builder.new do
  use Rack::Profile, :html => '/tmp/profile.html'
  run MyApp.new
end

# can specify any of three output types
use Rack::Profile, :html => 'profile.html', :text => 'profile.txt', :tree => 'profile.prof'

Notes¶ ↑

Each request will overwrite any previous request’s profile output. This is sufficient for my current needs, but I welcome patches to deal with this more gracefully.

Copyright © 2009 David Dollar. See LICENSE for details.