HTML Preparation code:
Script Preparation code:
Tests:
  • append()

  • appendChild()

  • append() with apply()

  • appendChild() with loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    append()
    appendChild()
    append() with apply()
    appendChild() with loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87 on Ubuntu
View result in a separate tab
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