Fixed the big XML lexer benchmark.

This commit is contained in:
Yorick Peterse 2014-04-30 09:28:28 +02:00
parent 83f6d5437e
commit 2f36692abe
1 changed files with 1 additions and 1 deletions

View File

@ -6,6 +6,6 @@ lexer = Oga::XML::Lexer.new(xml)
Benchmark.bmbm(10) do |bench| Benchmark.bmbm(10) do |bench|
bench.report '10MB of XML' do bench.report '10MB of XML' do
lexer.advance { |tok| } Oga::XML::Lexer.new(xml).advance { |tok| }
end end
end end