Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 7
- Log:
Initial import of RForum 0.2 sources from a downloaded Tarball.
RForum is a Ruby On Rails based forum and mail gateway service.
- Author:
- adh
- Date:
- Sat Jul 22 18:43:13 +0100 2006
- Size:
- 482 Bytes
- Properties:
- Property svn:executable is set
1 | #!/usr/bin/env ruby |
2 | |
3 | if ARGV.empty? |
4 | puts "Usage: benchmarker times 'Person.expensive_way' 'Person.another_expensive_way' ..." |
5 | exit |
6 | end |
7 | |
8 | require File.dirname(__FILE__) + '/../config/environment' |
9 | require 'benchmark' |
10 | include Benchmark |
11 | |
12 | # Don't include compilation in the benchmark |
13 | ARGV[1..-1].each { |expression| eval(expression) } |
14 | |
15 | bm(6) do |x| |
16 | ARGV[1..-1].each_with_index do |expression, idx| |
17 | x.report("##{idx + 1}") { ARGV[0].to_i.times { eval(expression) } } |
18 | end |
19 | end |