class Rack::Perf::PerformanceTracker
Attributes
endtime[RW]
starttime[RW]
Public Instance Methods
end()
click to toggle source
# File lib/rack/perf.rb, line 125 def end @endtime = Time.now end
start()
click to toggle source
# File lib/rack/perf.rb, line 121 def start @starttime = Time.now end
time()
click to toggle source
# File lib/rack/perf.rb, line 129 def time ((endtime-starttime) * 1000).round end