Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleaning up benchmark output...

  • Loading branch information...
commit a6efa7452373f6a0974f14368b235f722f3c8d55 1 parent 524978d
Jeff Rose authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 test/benchmark.rb
View
5 test/benchmark.rb
@@ -28,12 +28,9 @@ def handle_item(t)
sim = GoSim::Simulation::instance
+puts "Starting benchmark for #{NUM_EVENTS} events:\n"
Benchmark.bm do |stat|
- puts "Starting benchmark for #{NUM_EVENTS} events:\n"
-
b = Benchmarker.new(NUM_EVENTS)
stat.report { sim.run }
-
- puts "Benchmark complete after counting #{b.counter} events.\n"
end
Please sign in to comment.
Something went wrong with that request. Please try again.