summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
Diffstat (limited to 'bench')
-rw-r--r--bench/bench.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/bench.rb b/bench/bench.rb
index 15c2d17..c98b888 100644
--- a/bench/bench.rb
+++ b/bench/bench.rb
@@ -92,7 +92,7 @@ Benchmark.bm(20) do |bm|
elsif $dump_output
raise 'Can\'t dump stream.'
end
- $o = $hl.encode_stream(data, lang, options)
+ $o = $hl.encode(data, lang, options)
@token_count = 253528 #$hl.token_stream.count rescue 1
else
if $dump_input