Add HTML lexer large input timing benchmark

This commit is contained in:
Yorick Peterse 2015-05-23 06:54:15 +02:00
parent ce10ac779d
commit 04f431eee7
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
require_relative '../../benchmark_helper'
xml = read_big_xml
measure_average do
Oga::XML::Lexer.new(xml, :html => true).advance { }
end