summaryrefslogtreecommitdiff
path: root/benchmark/bm_file_chmod.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_file_chmod.rb')
-rw-r--r--benchmark/bm_file_chmod.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/benchmark/bm_file_chmod.rb b/benchmark/bm_file_chmod.rb
deleted file mode 100644
index 1cd4760..0000000
--- a/benchmark/bm_file_chmod.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# chmod file
-require 'tempfile'
-max = 200_000
-tmp = Tempfile.new('chmod')
-path = tmp.path
-max.times do
- File.chmod(0777, path)
-end
-tmp.close!