diff options
author | murphy <murphy@rubychan.de> | 2010-05-05 11:03:50 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-05-05 11:03:50 +0000 |
commit | 31c6ffdffd1124e8235396d38aba99fdce77905a (patch) | |
tree | fa27a608d778ca7c45b3e58106df73ad10208aea | |
parent | 7bf48ce6cf5c75a2278d6545f02781a79f53ebbb (diff) | |
download | coderay-31c6ffdffd1124e8235396d38aba99fdce77905a.tar.gz |
Fixed benchmark script.
-rw-r--r-- | bench/bench.rb | 2 |
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 |