Test name | Executions per second |
---|---|
childNodes foreach | 629319.8 Ops/sec |
children (direct) | 849352.2 Ops/sec |
children (into variable) | 2385627.5 Ops/sec |
children-- (direct) | 1382130.1 Ops/sec |
children-- (into variable) | 3051974.8 Ops/sec |
ChildNodes for (direct) | 446341.5 Ops/sec |
ChildNodes for (into variable) | 1631156.8 Ops/sec |
ChildNodes for-- (direct) | 758549.2 Ops/sec |
ChildNodes for-- (into variable) | 2075338.9 Ops/sec |
firstElementChild nextElementChild | 5528009.0 Ops/sec |
lastElementChild previousElementChild | 5510178.5 Ops/sec |
firstChild nextSibling | 4411911.0 Ops/sec |
lastChild previousSibling | 4426229.0 Ops/sec |