diff options
Diffstat (limited to 'trunk/benchmark/bm_vm2_proc.rb')
-rw-r--r-- | trunk/benchmark/bm_vm2_proc.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/trunk/benchmark/bm_vm2_proc.rb b/trunk/benchmark/bm_vm2_proc.rb new file mode 100644 index 0000000000..0bd05b9544 --- /dev/null +++ b/trunk/benchmark/bm_vm2_proc.rb @@ -0,0 +1,14 @@ +def m &b + b +end + +pr = m{ + a = 1 +} + +i=0 +while i<6000000 # benchmark loop 2 + i+=1 + pr.call +end + |