Test case name | Result |
---|---|
appendChild after createElement | |
appendChild after getElementById | |
appendChild after createElement (with cloneNode) | |
appendChild after getElementById (with cloneNode) | |
appendChild to fragment, then append after createElement | |
appendChild to fragment, then append after getElementById | |
appendChild to fragment, then append after createElement (with cloneNode) | |
appendChild to fragment, then append after getElementById (with cloneNode) |
Test name | Executions per second |
---|---|
appendChild after createElement | 1174.9 Ops/sec |
appendChild after getElementById | 912.6 Ops/sec |
appendChild after createElement (with cloneNode) | 1791.3 Ops/sec |
appendChild after getElementById (with cloneNode) | 1996.0 Ops/sec |