summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-06-29 06:27:07 +0000
committermurphy <murphy@rubychan.de>2010-06-29 06:27:07 +0000
commit4dac54356cdf31df2ee0f280fc7c4afc3d0e213d (patch)
treef2ff853e866bc76744cdef26de29da695ad53e7f /bench
parent06dc3061f7988b23884f892fb8ea678c0e6d83fd (diff)
downloadcoderay-4dac54356cdf31df2ee0f280fc7c4afc3d0e213d.tar.gz
rake bench now uses line numbers (slower, but more realistic).
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index 5647edd..959cbe5 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -82,6 +82,7 @@ Benchmark.bm(20) do |bm|
options = {
:tab_width => 2,
:wrap => :page,
+ :line_numbers => :table,
:css => $style ? :style : :class,
}
$hl = CodeRay.encoder(format, options) unless $dump_output