Skip to content
This repository
tag: v3.1.8
Fetching contributors…

Cannot retrieve contributors at this time

file 7 lines (6 sloc) 0.089 kb
1 2 3 4 5 6 7
require 'benchmark'

class << Benchmark
  def ms
    1000 * realtime { yield }
  end
end
Something went wrong with that request. Please try again.