From 31c6ffdffd1124e8235396d38aba99fdce77905a Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 5 May 2010 11:03:50 +0000 Subject: Fixed benchmark script. --- bench/bench.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1