Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Ubuntu
Desktop
3 years ago
Test name Executions per second
append() 264682.8 Ops/sec
appendChild() 291843.1 Ops/sec
append() with apply() 238947.7 Ops/sec
appendChild() with loop 286161.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • append()

  • appendChild()

  • append() with apply()

  • appendChild() with loop