Class: Benchmark

Inherits:
Object show all
Defined in:
activesupport/lib/active_support/core_ext/benchmark.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) ms



4
5
6
# File 'activesupport/lib/active_support/core_ext/benchmark.rb', line 4

def ms
  1000 * realtime { yield }
end