Test name | Executions per second |
---|---|
childNodes foreach | 184234.5 Ops/sec |
children (direct) | 284639.7 Ops/sec |
firstChild nextSibling | 1676688.6 Ops/sec |
firstElementChild nextElementChild | 2256512.8 Ops/sec |
ChildNodes for (into variable) | 517531.1 Ops/sec |
children-- (direct) | 457055.4 Ops/sec |
ChildNodes for-- (into variable) | 239978.0 Ops/sec |
ChildNodes for-- (direct) | 596429.3 Ops/sec |
lastElementChild previousElementChild | 2265529.0 Ops/sec |
children-- (into variable) | 971772.9 Ops/sec |