HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 27 community runs

Desktop Results:
Chrome 21 runs
append
1.6M/s
appendChild
1.4M/s
View exact numbers
  • append: 1,560,191 ops/sec
  • appendChild: 1,437,844 ops/sec
Firefox 6 runs
append
33K/s
appendChild
17K/s

Fastest: append (2.0x faster)

View exact numbers
  • append: 33,192 ops/sec
  • appendChild: 16,684 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    append
    appendChild

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
appendChild
3.3M/s
append
3.2M/s
View exact numbers
Test name Executions per second
appendChild 3,323,941 Ops/sec
append 3,214,805 Ops/sec