Class: Benchmark
Class Method Summary collapse
-
.ms(&block) โ Object
Benchmark realtime in milliseconds.
Class Method Details
.ms(&block) โ Object
13 14 15 |
# File 'lib/active_support/core_ext/benchmark.rb', line 13 def ms(&block) 1000 * realtime(&block) end |