oga/benchmark/xml/pull_parser/average_bench.rb

8 lines
128 B
Ruby
Raw Normal View History

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