Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 89 Bytes
require 'benchmark'
class << Benchmark
def ms
1000 * realtime { yield }
end
end
Something went wrong with that request. Please try again.