oga/benchmark/xml/lexer/big_xml_average.rb

8 lines
125 B
Ruby

require_relative '../../benchmark_helper'
xml = read_big_xml
measure_average do
Oga::XML::Lexer.new(xml).advance { }
end