Project

General

Profile

Feature #4982

Print difference of benchmark runs for `make benchmark`

Added by drbrain (Eric Hodel) almost 8 years ago. Updated almost 8 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

Associated revisions

Revision 789b288d
Added by drbrain (Eric Hodel) almost 8 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

Revision 32430
Added by drbrain (Eric Hodel) almost 8 years ago

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

History

Updated by kosaki (Motohiro KOSAKI) almost 8 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) almost 8 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