summaryrefslogtreecommitdiffstats
path: root/benchmark/bm_io_file_create.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
commit43ec868f29644be64c3082335bab166b5e80e69f (patch)
treec8da9a224aa49e4a37596be3a4888fdf78538c63 /benchmark/bm_io_file_create.rb
parent3b86d7ab834fd4326be519f2f74989e8a5186065 (diff)
downloadruby-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_io_file_create.rb')
-rw-r--r--benchmark/bm_io_file_create.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/benchmark/bm_io_file_create.rb b/benchmark/bm_io_file_create.rb
index 3b4802880..db4e4dedd 100644
--- a/benchmark/bm_io_file_create.rb
+++ b/benchmark/bm_io_file_create.rb
@@ -2,13 +2,10 @@
# Create files
#
-require 'tempfile'
-
max = 50_000
file = './tmpfile_of_bm_io_file_create'
max.times{
- #f = Tempfile.new('yarv-benchmark')
f = open(file, 'w')
f.close#(true)
}