Report abuse

jruby SERVER -O test/bench/bench_block_invocation.rb


			
100k loops yielding a fixnum 10 times to a block that just retrieves dvar
  0.864000   0.000000   0.864000 (  0.864000)
  0.536000   0.000000   0.536000 (  0.536000)
  0.386000   0.000000   0.386000 (  0.386000)
  0.389000   0.000000   0.389000 (  0.388000)
  0.386000   0.000000   0.386000 (  0.386000)
100k loops yielding two fixnums 10 times to block accessing one
  0.630000   0.000000   0.630000 (  0.630000)
  0.586000   0.000000   0.586000 (  0.586000)
  0.585000   0.000000   0.585000 (  0.586000)
  0.583000   0.000000   0.583000 (  0.583000)
  0.576000   0.000000   0.576000 (  0.576000)
100k loops yielding three fixnums 10 times to block accessing one
  0.649000   0.000000   0.649000 (  0.649000)
  0.650000   0.000000   0.650000 (  0.650000)
  0.656000   0.000000   0.656000 (  0.656000)
  0.651000   0.000000   0.651000 (  0.651000)
  0.652000   0.000000   0.652000 (  0.652000)
100k loops yielding three fixnums 10 times to block splatting and accessing them
  2.787000   0.000000   2.787000 (  2.787000)
  2.555000   0.000000   2.555000 (  2.556000)
  2.549000   0.000000   2.549000 (  2.549000)
  2.557000   0.000000   2.557000 (  2.557000)
  2.981000   0.000000   2.981000 (  2.981000)
100k loops yielding a fixnums 10 times to block with just a fixnum (no vars)
  0.318000   0.000000   0.318000 (  0.318000)
  0.317000   0.000000   0.317000 (  0.317000)
  0.315000   0.000000   0.315000 (  0.315000)
  0.312000   0.000000   0.312000 (  0.312000)
  0.306000   0.000000   0.306000 (  0.306000)
100k loops calling a method with a fixnum that just returns it
  0.700000   0.000000   0.700000 (  0.700000)
  0.633000   0.000000   0.633000 (  0.633000)
  0.627000   0.000000   0.627000 (  0.627000)
  0.633000   0.000000   0.633000 (  0.633000)
  0.630000   0.000000   0.630000 (  0.630000)

jruby SERVER test/bench/bench_block_invocation.rb


			
100k loops yielding a fixnum 10 times to a block that just retrieves dvar
  0.870000   0.000000   0.870000 (  0.870000)
  0.535000   0.000000   0.535000 (  0.535000)
  0.392000   0.000000   0.392000 (  0.392000)
  0.398000   0.000000   0.398000 (  0.398000)
  0.388000   0.000000   0.388000 (  0.388000)
100k loops yielding two fixnums 10 times to block accessing one
  0.667000   0.000000   0.667000 (  0.668000)
  0.609000   0.000000   0.609000 (  0.609000)
  0.614000   0.000000   0.614000 (  0.614000)
  0.605000   0.000000   0.605000 (  0.605000)
  0.611000   0.000000   0.611000 (  0.611000)
100k loops yielding three fixnums 10 times to block accessing one
  0.670000   0.000000   0.670000 (  0.670000)
  0.668000   0.000000   0.668000 (  0.668000)
  0.671000   0.000000   0.671000 (  0.671000)
  0.667000   0.000000   0.667000 (  0.667000)
  0.677000   0.000000   0.677000 (  0.677000)
100k loops yielding three fixnums 10 times to block splatting and accessing them
  2.705000   0.000000   2.705000 (  2.705000)
  2.616000   0.000000   2.616000 (  2.616000)
  2.567000   0.000000   2.567000 (  2.566000)
  2.578000   0.000000   2.578000 (  2.578000)
  2.986000   0.000000   2.986000 (  2.986000)
100k loops yielding a fixnums 10 times to block with just a fixnum (no vars)
  0.307000   0.000000   0.307000 (  0.308000)
  0.301000   0.000000   0.301000 (  0.301000)
  0.302000   0.000000   0.302000 (  0.302000)
  0.301000   0.000000   0.301000 (  0.302000)
  0.300000   0.000000   0.300000 (  0.301000)
100k loops calling a method with a fixnum that just returns it
  0.651000   0.000000   0.651000 (  0.651000)
  0.615000   0.000000   0.615000 (  0.615000)
  0.610000   0.000000   0.610000 (  0.610000)
  0.617000   0.000000   0.617000 (  0.617000)
  0.612000   0.000000   0.612000 (  0.612000)

ruby test/bench/bench_block_invocation.rb


			
100k loops yielding a fixnum 10 times to a block that just retrieves dvar
  0.360000   0.000000   0.360000 (  0.371768)
  0.360000   0.000000   0.360000 (  0.366277)
  0.360000   0.000000   0.360000 (  0.360174)
  0.350000   0.000000   0.350000 (  0.360356)
  0.360000   0.000000   0.360000 (  0.359890)
100k loops yielding two fixnums 10 times to block accessing one
  0.850000   0.000000   0.850000 (  0.863114)
  0.850000   0.010000   0.860000 (  0.853345)
  0.850000   0.000000   0.850000 (  0.852341)
  0.850000   0.000000   0.850000 (  0.855097)
  0.850000   0.000000   0.850000 (  0.856972)
100k loops yielding three fixnums 10 times to block accessing one
  0.960000   0.000000   0.960000 (  0.957365)
  0.950000   0.010000   0.960000 (  0.963109)
  0.960000   0.000000   0.960000 (  0.957116)
  0.950000   0.000000   0.950000 (  0.959591)
  0.960000   0.000000   0.960000 (  0.961187)
100k loops yielding three fixnums 10 times to block splatting and accessing them
  1.230000   0.010000   1.240000 (  1.236590)
  1.230000   0.000000   1.230000 (  1.240390)
  1.230000   0.000000   1.230000 (  1.235646)
  1.230000   0.010000   1.240000 (  1.238462)
  1.230000   0.000000   1.230000 (  1.238844)
100k loops yielding a fixnums 10 times to block with just a fixnum (no vars)
  0.250000   0.000000   0.250000 (  0.250883)
  0.260000   0.000000   0.260000 (  0.258426)
  0.250000   0.000000   0.250000 (  0.251147)
  0.250000   0.000000   0.250000 (  0.251256)
  0.250000   0.000000   0.250000 (  0.250881)
100k loops calling a method with a fixnum that just returns it
  0.340000   0.010000   0.350000 (  0.342344)
  0.340000   0.000000   0.340000 (  0.342857)
  0.340000   0.000000   0.340000 (  0.342658)
  0.340000   0.000000   0.340000 (  0.347887)
  0.340000   0.000000   0.340000 (  0.342094)