Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v2.2.3
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.16 kB
require 'benchmark'
class << Benchmark
remove_method :realtime
def realtime
r0 = Time.now
yield
r1 = Time.now
r1.to_f - r0.to_f
end
end
Jump to Line
Something went wrong with that request. Please try again.