diff options
Diffstat (limited to 'benchmark/bm_vm1_blockparam.rb')
-rwxr-xr-x | benchmark/bm_vm1_blockparam.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmark/bm_vm1_blockparam.rb b/benchmark/bm_vm1_blockparam.rb new file mode 100755 index 0000000000..11680a2e61 --- /dev/null +++ b/benchmark/bm_vm1_blockparam.rb @@ -0,0 +1,9 @@ +def m &b +end + +i = 0 +while i<30_000_000 # while loop 1 + i += 1 + m{} +end + |