repo.or.cz
/
jruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Fix for JRUBY-2882. Handle error messages related to constructors better
[jruby.git]
/
bench
/
yarv
/
bm_io_file_create.rb
blob
db4e4dedd2b620b325e1f521250014f1de4b6551
1
#
\r
2
# Create files
\r
3
#
\r
4
\r
5
max = 50_000
\r
6
file = './tmpfile_of_bm_io_file_create'
\r
7
\r
8
max.times{
\r
9
f = open(file, 'w')
\r
10
f.close#(true)
\r
11
}
\r
12
File.unlink(file)
\r
13
\r