diff options
Diffstat (limited to 'trunk/benchmark/bm_vm1_simplereturn.rb')
-rw-r--r-- | trunk/benchmark/bm_vm1_simplereturn.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/trunk/benchmark/bm_vm1_simplereturn.rb b/trunk/benchmark/bm_vm1_simplereturn.rb new file mode 100644 index 0000000000..c843ee3d97 --- /dev/null +++ b/trunk/benchmark/bm_vm1_simplereturn.rb @@ -0,0 +1,9 @@ +def m + return 1 +end +i=0 +while i<30000000 # while loop 1 + i+=1 + m +end + |