All of the DOM benchmarks have an annotation like this:
because almost all of the benchmarked DOM implementations are read-only thread-safe.
However the Xerces-based internal JDK implementation is not.
Perhaps the benchmarks would better reflect the performance if they were single-threaded, albeit at the cost of losing a thread safety check.
All of the DOM benchmarks have an annotation like this:
because almost all of the benchmarked DOM implementations are read-only thread-safe.
However the Xerces-based internal JDK implementation is not.
Perhaps the benchmarks would better reflect the performance if they were single-threaded, albeit at the cost of losing a thread safety check.