Tests:
-
append
-
appendChild in loop
-
replaceChildren
Results show median performance across all community submissions.
Run this benchmark yourself to verify on your device.
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
5 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Firefox 153 on Linux
View result in a separate tab
View exact numbers
| Test name |
Executions per second |
|
✓
appendChild in loop
|
5,265 Ops/sec |
|
replaceChildren
|
2,835 Ops/sec |
|
append
|
2,815 Ops/sec |
Do you really want to delete benchmark?