summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index f705258..10308ce 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -77,7 +77,14 @@ Benchmark.bm(20) do |bm|
end
time = bm.report('CodeRay') do
- options = { :tab_width => 2, :line_numbers => :table, :line_numbers_offset => Offset, :bold_every => BoldEvery, :wrap => :page, :css => $style ? :style : :class}
+ options = {
+ :tab_width => 2,
+ :line_numbers => :list,
+ :line_numbers_offset => Offset,
+ :bold_every => BoldEvery,
+ :wrap => :page,
+ :css => $style ? :style : :class,
+ }
options[:debug] = $DEBUG
$hl = CodeRay.encoder(format, options) unless $dump_output
N.times do