diff options
author | murphy <murphy@rubychan.de> | 2010-04-15 01:36:28 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-04-15 01:36:28 +0000 |
commit | 8b22841f80adce856445d1998098511d829f2438 (patch) | |
tree | eb37bcd46529971781ca6b81f18c5b038ec86485 | |
parent | 286a3c6d71fcb3d59820833c022d1af5e6e03b0a (diff) | |
download | coderay-8b22841f80adce856445d1998098511d829f2438.tar.gz |
Fixed benchmarks.
-rw-r--r-- | bench/bench.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bench/bench.rb b/bench/bench.rb index c658a85..a7caac2 100644 --- a/bench/bench.rb +++ b/bench/bench.rb @@ -60,10 +60,6 @@ end n = ARGV.find { |a| a[/^N/] } N = if n then n[/\d+/].to_i else 1 end -o = ARGV.find { |a| a[/^O/] } -Offset = if o then o[/\d+/].to_i else 1 end -b = ARGV.find { |a| a[/^B/] } -BoldEvery = if b then b[/\d+/].to_i else 10 end $filename = ARGV.include?('strange') ? 'strange' : 'example' (compare ? 1 : 5).times do @@ -85,9 +81,6 @@ Benchmark.bm(20) do |bm| time = bm.report('CodeRay') do options = { :tab_width => 2, - :line_numbers => :inline, - :line_numbers_offset => Offset, - :bold_every => BoldEvery, :wrap => :page, :css => $style ? :style : :class, } |