diff options
Diffstat (limited to 'benchmark/io_file_create.yml')
-rw-r--r-- | benchmark/io_file_create.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmark/io_file_create.yml b/benchmark/io_file_create.yml new file mode 100644 index 0000000000..ece11cc332 --- /dev/null +++ b/benchmark/io_file_create.yml @@ -0,0 +1,15 @@ +benchmark: + io_file_create: | + # + # Create files + # + + max = 200_000 + file = './tmpfile_of_bm_io_file_create' + + max.times{ + f = open(file, 'w') + f.close#(true) + } + File.unlink(file) +loop_count: 1 |