Traverse function vs NodeIterator vs TreeWalker 2 (version: 0)
Let's compare the speed of 3 different ways to traverse the DOM.
Comparing performance of: Traverse function vs NodeIterator with filter function vs NodeIterator with filter param vs TreeWalker with filter function vs TreeWalker with filter param
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
Traverse function
NodeIterator with filter function
NodeIterator with filter param
TreeWalker with filter function
TreeWalker with filter param
Fastest:N/A
Slowest:N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one to run it!