Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 481 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 |