Test case name | Result |
---|---|
innerHTML | |
removeChild (checking and removing firstChild) | |
removeChild (calling hasChildNodes and removing lastChild) |
Test name | Executions per second |
---|---|
innerHTML | 1168278.4 Ops/sec |
removeChild (checking and removing firstChild) | 1444613.8 Ops/sec |
removeChild (calling hasChildNodes and removing lastChild) | 1402171.8 Ops/sec |