Add HTML lexer large input timing benchmark
This commit is contained in:
parent
ce10ac779d
commit
04f431eee7
|
@ -0,0 +1,7 @@
|
||||||
|
require_relative '../../benchmark_helper'
|
||||||
|
|
||||||
|
xml = read_big_xml
|
||||||
|
|
||||||
|
measure_average do
|
||||||
|
Oga::XML::Lexer.new(xml, :html => true).advance { }
|
||||||
|
end
|
Loading…
Reference in New Issue