Sha256: d86d699f193f862adc1c2c82cf5571baccb882218a782e26e988275b83dd7ba8

Contents?: true

Size: 140 Bytes

Versions: 35

Compression:

Stored size: 140 Bytes

Contents


require 'benchmark'



x=Benchmark.measure { "a"*1_000_000_000 }


x=Benchmark.measure { sleep 1 }

puts x.class.to_s

puts x

puts x.real

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
scoutui-2.0.3.36.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.35.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.34.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.33.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.32.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.31.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.30.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.29.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.28.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.27.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.26.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.25.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.24.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.23.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.22.pre examples/benchmark/ex_benchmark.rb