XPath benchmark for querying large XML documents
This commit is contained in:
parent
3176459307
commit
602e231840
|
@ -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
|
Loading…
Reference in New Issue