Sha256: c3394fffc9361db9aad91651c325c5b6b57662fbe9eed6c54391b41be6585334

Contents?: true

Size: 149 Bytes

Versions: 3

Compression:

Stored size: 149 Bytes

Contents

function m(block)
{
  block();
}

function run(n)
{
  var i=0;
  while (i<n) // while loop 1
  {
    i += 1;
    m(function() {});
  }
  return i;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyjs-0.7.1 test/benchmark/bm_vm1_block.js
rubyjs-0.7.0 test/benchmark/bm_vm1_block.js
rubyjs-0.8.0 test/benchmark/bm_vm1_block.js