The results below should give an accurate picture of the current speed performance of various XPath implementations.
The tests run in a separate iframe, and each test is run 10 times before taking the average of the result.
XPathJS and native implementations are the most accurate, while Wicked Good XPath is the fastest.
A set of unit tests that extensively cover the XPath 1.0 specification is used to compare how well various XPath libraries conform to the specification.