Skip to content
Newer
Older
100644 61 lines (40 sloc) 1.54 KB
d33c3af @jschementi update readme
authored May 14, 2009
1 IronRuby-stats
2 ==============
3
4 A script for capturing interesting statistics about IronRuby
5
6 Pre-requisites
7 --------------
3bcf15c More tweaks to automate ironruby.info
unknown authored Jan 24, 2010
8 1. Ruby (MRI)
9 2. An IronRuby repository
10
11 git clone git://github.com/ironruby/ironruby.git
d33c3af @jschementi update readme
authored May 14, 2009
12
13 Configuration
14 -------------
15 Update config.rb with the path to your IronRuby repository (from step 1 above).
16
17 For example, if you ran the "git clone" command in c:/dev, then this would be
18 your REPO value:
19
20 REPO = 'c:/dev/ironruby'
21
3bcf15c More tweaks to automate ironruby.info
unknown authored Jan 24, 2010
22 Also, update "MRI_BIN" with the path to your ruby.exe:
23
24 MRI_BIN = 'c:\ruby\bin'
25
d33c3af @jschementi update readme
authored May 14, 2009
26 Example
27 -------
28
29 > ruby stats.rb --all
30
3bcf15c More tweaks to automate ironruby.info
unknown authored Jan 24, 2010
31 Runs all reports, writes results to a .dat file, generates a HTML file, and
32 attemps to upload both the html file and the dat file to ironruby.info.
d33c3af @jschementi update readme
authored May 14, 2009
33 "ruby stats.rb --reporter=data --all" will do the same thing.
34
35 > ruby stats.rb --reporter=text --all
36
37 Runs all reports, and outputs the results to the screen.
38
39 > ruby stats.rb --mspec_lang
40
41 Only run the 'mspec_lang' report
42
43 > ruby stats.rb --skip-build --all
44
45 Run all reports, except for 'build'
46
47 Usage
48 -----
49
50 ruby stats.rb [--help|-h] [--clean] [--reporter=(text|data)] [--skip-#{name}] [--#{name}|--all]
51
52 #{name} can be any of the following:
53 - mspec_core : RubySpec Core tests
54 - mspec_lang : RubySpec Language tests
55 - mspec_lib : RubySpec Library tests
56 - build : Builds IronRuby
57 - binsize : Size of IronRuby binaries
58 - repo : Size of IronRuby source code repository
59 - startup : Time to start ir.exe
60 - throughput : Time to do 100,000 iterations of (i *= 2)
Something went wrong with that request. Please try again.