class Benchmark::Memory::Job::IOOutput
Output the results of jobs into an IO.
def initialize(io)
-
io(#puts) -- The IO to write on.
def initialize(io) @io = io end
def put_comparison(comparison)
-
(void)-
def put_comparison(comparison) @io.puts @io.puts 'Comparison:' @io.puts ComparisonFormatter.new(comparison) end
def put_entry(entry)
-
(void)-
def put_entry(entry) @io.puts EntryFormatter.new(entry) end
def put_header
-
(void)-
def put_header @io.puts 'Calculating -------------------------------------' end
def put_hold_notice
-
(void)-
def put_hold_notice @io.puts @io.puts 'Pausing here -- run Ruby again to ' \ 'measure the next benchmark...' end