3 4 5 6 7
# File 'opal/stdlib/benchmark.rb', line 3 def measure(&block) start = Time.now yield Time.now - start end