Test case name | Result |
---|---|
innerHTML | |
removeChild (checking and removing firstChild) | |
removeChild (calling hasChildNodes and removing lastChild) | |
removeChild (checking and removing lastChild) |
Test name | Executions per second |
---|---|
innerHTML | 2533363.8 Ops/sec |
removeChild (checking and removing firstChild) | 3314375.0 Ops/sec |
removeChild (calling hasChildNodes and removing lastChild) | 3289887.5 Ops/sec |
removeChild (checking and removing lastChild) | 3271906.0 Ops/sec |