Add times parameter support for Rack::Profiler #49

Closed
mperham opened this Issue Feb 24, 2012 · 2 comments

Comments

Projects
None yet
3 participants

mperham commented Feb 24, 2012

Rack::Profiler allows you to set a times parameter globally:

use Rack::Profiler, :times => 100

but this is not granular enough. Some of my pages take 1ms to render, others take 1s. I want to give the times count as part of the URL so I can tune the count per page:

/some_long_page?profile=cpu_time&times=10
/quick?profile=cpu_time&times=10000

👍

Contributor

mpalmer commented Jun 23, 2015

Closing this in favour of #52.

@mpalmer mpalmer closed this Jun 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment