Ruby Releases Benchmarks


Benchmark Types

Io file read Graph (Iteration per second)

Io file read Graph (RSS memory usage)

Io file read Script View on Github

#
# 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
}