public
Fork of jschementi/ironruby-stats
Description: Statistics for IronRuby
Homepage: http://ironruby.info
Clone URL: git://github.com/jredville/ironruby-stats.git
name age message
file .gitignore Mon Feb 02 18:36:00 -0800 2009 ignore pswd file [jschementi]
file .gitmodules Mon Feb 09 20:08:42 -0800 2009 update server info, and add frameworks [jschementi]
file README Tue Jan 27 19:14:43 -0800 2009 Add examples to README [jschementi]
file Rakefile Loading commit data...
file app.rb
file config.rb Thu May 14 10:06:50 -0700 2009 move the running scripts to a rakefile, and mod... [Jim Deville]
file config.ru Tue Feb 03 19:24:20 -0800 2009 Fix for Dreamhost reload [iruby]
file dbg.rb Thu Feb 05 11:29:07 -0800 2009 Workings Set [jschementi]
file empty.rb Tue Jan 27 00:45:21 -0800 2009 Refactoring, and adds startup/throughput [jschementi]
directory frameworks/ Mon Feb 09 20:08:42 -0800 2009 update server info, and add frameworks [jschementi]
file getpid.rb Thu Feb 05 11:29:07 -0800 2009 Workings Set [jschementi]
file loop.rb
file mymath.rb Thu Jan 29 23:22:11 -0800 2009 formatting [jschementi]
file retry.bat
file retry.rb Thu Feb 05 11:29:07 -0800 2009 Workings Set [jschementi]
file stats.rb
README
IronRuby-stats

A script for capturing interesting statistics about IronRuby

== Pre-requisites
1. git clone git://github.com/ironruby/ironruby.git
2. Set up IronRuby for building: http://wiki.github.com/ironruby/ironruby

== Configuration

Update config.rb with the path to your IronRuby repository (from step 1 above).

For example, if you ran the "git clone" command in c:/dev, then this would be
your REPO value:

REPO = 'c:/dev/ironruby'

== Example

> ruby stats.rb --all

Runs all reports, and writes results to a .dat file.
"ruby stats.rb --reporter=data --all" will do the same thing.

> ruby stats.rb --reporter=text --all

Runs all reports, and outputs the results to the screen.

> ruby stats.rb --mspec_lang

Only run the 'mspec_lang' report

> ruby stats.rb --skip-build --all

Run all reports, except for 'build'

== Usage

ruby stats.rb [--help|-h] [--clean] [--reporter=(text|data)] [--skip-#{name}] [--#{name}|--all]

  #{name} can be any of the following:
  - mspec_core : RubySpec Core tests
  - mspec_lang : RubySpec Language tests 
  - mspec_lib  : RubySpec Library tests
  - build      : Builds IronRuby
  - binsize    : Size of IronRuby binaries
  - repo       : Size of IronRuby source code repository
  - startup    : Time to start ir.exe
  - throughput : Time to do 100,000 iterations of (i *= 2)