Sha256: 0f8f95385626f50725f855b6589c5d7d01d21ddafb1c650b454bb8a6021726e5

Contents?: true

Size: 119 Bytes

Versions: 16

Compression:

Stored size: 119 Bytes

Contents

require "benchmark"

time = Benchmark.measure do
  a = 0
  100000.times do
    a = a + 1
  end
  puts a
end

puts time

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
opal-0.8.1 benchmarks/operators.rb
opal-0.8.1.rc1 benchmarks/operators.rb
opal-0.8.0 benchmarks/operators.rb
opal-0.8.0.rc3 benchmarks/operators.rb
opal-0.8.0.rc2 benchmarks/operators.rb
opal-0.8.0.rc1 benchmarks/operators.rb
opal-0.8.0.beta1 benchmarks/operators.rb
opal-0.7.2 benchmarks/operators.rb
opal-0.7.1 benchmarks/operators.rb
opal-0.7.0 benchmarks/operators.rb
opal-0.7.0.rc1 benchmarks/operators.rb
opal-0.7.0.beta3 benchmarks/operators.rb
opal-0.7.0.beta2 benchmarks/operators.rb
opal-cj-0.7.0.beta2 benchmarks/operators.rb
opal-cj-0.7.0.beta1 benchmarks/operators.rb
opal-0.7.0.beta1 benchmarks/operators.rb