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.56.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.55.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.54.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.53.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.52.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.51.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.50.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.49.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.48.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.47.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.46.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.45.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.44.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.43.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.42.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.41.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.40.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.39.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.38.pre examples/benchmark/ex_benchmark.rb
scoutui-2.0.3.37.pre examples/benchmark/ex_benchmark.rb