class BenchmarkDriver::Output::All

def without_stdout_buffering

benchmark_driver ouputs logs ASAP. This enables sync flag for it.
def without_stdout_buffering
  sync, $stdout.sync = $stdout.sync, true
  yield
ensure
  $stdout.sync = sync
end