module Benchmark
Public Instance Methods
ms() { || ... }
click to toggle source
# File lib/active_support/core_ext/benchmark.rb, line 4 def ms 1000 * realtime { yield } end
# File lib/active_support/core_ext/benchmark.rb, line 4 def ms 1000 * realtime { yield } end