diff --git a/benchmark/xpath/evaluator/big_xml_average_bench.rb b/benchmark/xpath/evaluator/big_xml_average_bench.rb new file mode 100644 index 0000000..eab4203 --- /dev/null +++ b/benchmark/xpath/evaluator/big_xml_average_bench.rb @@ -0,0 +1,7 @@ +require_relative '../../benchmark_helper' + +doc = Oga.parse_xml(big_xml_file) + +measure_average do + doc.xpath('descendant-or-self::location') +end