oga/benchmark/xml/parser/average_bench.rb

8 lines
120 B
Ruby

require_relative '../../benchmark_helper'
xml = read_big_xml
measure_average do
Oga::XML::Parser.new(xml).parse
end