Test case name | Result |
---|---|
innerHTML += (remove) | |
innerHTML += (display none) | |
appendChild | |
insertAdjacentElement | |
insertAdjacentHTML (remove) | |
insertAdjacentHTML ( display none ) |
Test name | Executions per second |
---|---|
innerHTML += (remove) | 241.9 Ops/sec |
innerHTML += (display none) | 115.0 Ops/sec |
appendChild | 1495021.1 Ops/sec |
insertAdjacentElement | 1481970.4 Ops/sec |
insertAdjacentHTML (remove) | 164314.0 Ops/sec |
insertAdjacentHTML ( display none ) | 135656.6 Ops/sec |