Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b29a029768
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.172 kB
#
# 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
}
Jump to Line
Something went wrong with that request. Please try again.