summaryrefslogtreecommitdiff
path: root/benchmark/io_file_read.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/io_file_read.yml')
-rw-r--r--benchmark/io_file_read.yml18
1 files changed, 0 insertions, 18 deletions
diff --git a/benchmark/io_file_read.yml b/benchmark/io_file_read.yml
deleted file mode 100644
index f8f0c1c871..0000000000
--- a/benchmark/io_file_read.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-benchmark:
- io_file_read: |
- #
- # Seek and Read file.
- #
-
- require 'tempfile'
-
- max = 200_000
- str = "Hello world! " * 1000
- f = Tempfile.new('yarv-benchmark')
- f.write str
-
- max.times{
- f.seek 0
- f.read
- }
-loop_count: 1