Test case name | Result |
---|---|
forEach loop childNodes | |
for loop childNodes | |
loop firstChild and append | |
loop lastChild and prepend |
Test name | Executions per second |
---|---|
forEach loop childNodes | 16622855.0 Ops/sec |
for loop childNodes | 55886460.0 Ops/sec |
loop firstChild and append | 89573880.0 Ops/sec |
loop lastChild and prepend | 87278544.0 Ops/sec |