summaryrefslogtreecommitdiff
path: root/benchmark/io_file_create.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/io_file_create.yml')
-rw-r--r--benchmark/io_file_create.yml15
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 0000000..ece11cc
--- /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