summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_eval.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 06:59:59 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 06:59:59 +0000
commit8aa618d8e27e9728b6d102bf69e3294d7e9283e6 (patch)
treec8da9a224aa49e4a37596be3a4888fdf78538c63 /benchmark/bm_vm2_eval.rb
parent37f9d089ed30477e1f7d8c54fde6047e7c1d3154 (diff)
* benchmark/driver.rb: fix to output benchmark results
to file "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}". * benchmark/bm_io_file_create.rb: remove useless codes. * benchmark/bm_vm2_eval.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm2_eval.rb')
-rw-r--r--benchmark/bm_vm2_eval.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/bm_vm2_eval.rb b/benchmark/bm_vm2_eval.rb
new file mode 100644
index 0000000000..9ab781edd4
--- /dev/null
+++ b/benchmark/bm_vm2_eval.rb
@@ -0,0 +1,6 @@
+i=0
+while i<6000000 # benchmark loop 2
+ i+=1
+ eval("1")
+end
+