diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 06:59:59 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 06:59:59 +0000 |
| commit | 43ec868f29644be64c3082335bab166b5e80e69f (patch) | |
| tree | c8da9a224aa49e4a37596be3a4888fdf78538c63 /benchmark/bm_vm2_eval.rb | |
| parent | 3b86d7ab834fd4326be519f2f74989e8a5186065 (diff) | |
| download | ruby-43ec868f29644be64c3082335bab166b5e80e69f.tar.gz ruby-43ec868f29644be64c3082335bab166b5e80e69f.tar.xz ruby-43ec868f29644be64c3082335bab166b5e80e69f.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm2_eval.rb')
| -rw-r--r-- | benchmark/bm_vm2_eval.rb | 6 |
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 000000000..9ab781edd --- /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
+
|
