Fixed the big XML lexer benchmark.
This commit is contained in:
1 parent
83f6d5437e
commit
2f36692abe
1 file changed
+1
-1
@@ -6,6 +6,6 @@ lexer = Oga::XML::Lexer.new(xml)
|
||||
|
||||
Benchmark.bmbm(10) do |bench|
|
||||
bench.report '10MB of XML' do
|
||||
lexer.advance { |tok| }
|
||||
Oga::XML::Lexer.new(xml).advance { |tok| }
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user