Project

General

Profile

Feature #4982

Print difference of benchmark runs for `make benchmark`

Added by drbrain (Eric Hodel) about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:37822]

Description

The attached patch adds printing of the difference in time between BASERUBY and RUNRUBY when make benchmark is run.

This makes it easy to quickly determine if changes have increased or decreased the speed of ruby.


Files

benchmark-driver.rb.difference.patch (1.08 KB) benchmark-driver.rb.difference.patch drbrain (Eric Hodel), 07/06/2011 01:19 PM

Updated by kosaki (Motohiro KOSAKI) about 9 years ago

This sound good idea.
'make benchmark' result is not stable. then, I always use "-r 5". So, It would be better if we can compare average performance.

#2

Updated by drbrain (Eric Hodel) about 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r32430.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • benchmark/driver.rb: Add difference column to report that averages across all runs of a benchmark. [Ruby 1.9 - Feature #4982]

Also available in: Atom PDF