github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

Pistos / better-benchmark

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 17
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • inner-iterations
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Statistically correct benchmarking for Ruby. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added .gitignore to ignore built gems. 
Pistos (author)
Wed Feb 11 06:41:19 -0800 2009
commit  d59a8aabce08c604ec1b58308a34002a25c048af
tree    5a85c4cf0a927bb5f67c57f3ebf5f8616ae8acb3
parent  10bbdf6981c7bd752d17260e3ae76d7a81a38d9f
better-benchmark /
name age
history
message
file .gitignore Loading commit data...
file LICENCE
file README
file better-benchmark.gemspec
file example.rb
directory lib/
file run-example
README
## Dependencies

The R Project: http://www.r-project.org/
rsruby: http://web.kuicr.kyoto-u.ac.jp/~alexg/rsruby/

## Usage

result = Benchmark.compare_realtime {
  do_something_one_way
}.with {
  do_it_another_way
}
Benchmark.report_on result

See also example.rb for a more comprehensive example.

## Example Output

....................
Set 1 mean: 0.484 s
Set 1 std dev: 0.098
Set 2 mean: 0.469 s
Set 2 std dev: 0.088
p.value: 0.601661885634415
W: 220.0
The difference (-3.2%) IS NOT statistically significant.

## Help, etc.

irc.freenode.net#mathetes or http://mibbit.com/?server=irc.freenode.net&channel=%23mathetes

## Repository

git clone git://github.com/Pistos/better-benchmark.git
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server