HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 27 community runs

Desktop Results:
Chrome 20 runs
appendChild
643K/s
append
520K/s

Fastest: appendChild (1.2x faster)

View exact numbers
  • appendChild: 642,708 ops/sec
  • append: 519,556 ops/sec
Firefox 7 runs
append
13K/s
appendChild
12K/s
View exact numbers
  • append: 12,599 ops/sec
  • appendChild: 12,044 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: 7 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36
Chrome Mobile 143 on Android
View result in a separate tab
appendChild
336K/s
append
285K/s
View exact numbers
Test name Executions per second
appendChild 335,889 Ops/sec
append 285,242 Ops/sec