repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* transcode.c (trans_open_i): check the result of rb_transcoding_open.
[ruby-svn.git]
/
benchmark
/
bm_io_file_create.rb
blob
7adbe9ea5e7476674dc87cdb39734fb8dfd3407f
1
#
2
# Create files
3
#
4
5
max = 50_000
6
file = './tmpfile_of_bm_io_file_create'
7
8
max.times{
9
f = open(file, 'w')
10
f.close#(true)
11
}
12
File.unlink(file)
13