class BenchmarkDriver::Output::All

def with_benchmark(&block)

def with_benchmark(&block)
  @job_context_result = Hash.new do |hash, job|
    hash[job] = {}
  end
  result = without_stdout_buffering do
    $stdout.puts 'Calculating -------------------------------------'
    if @context_names.size > 1
      $stdout.print(' ' * @name_length)
      @context_names.each do |context_name|
        $stdout.print(" %#{CONTEXT_LENGTH}s " % context_name)
      end
      $stdout.puts
    end
    block.call
  end
  result
end