HTML Preparation code:
Script Preparation code:
Tests:
  • replaceChild

  • replaceChildren

  • append documentFragment

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    replaceChild
    replaceChildren
    append documentFragment

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 23 days ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.1.1
View result in a separate tab
Test name Executions per second
replaceChild 3787440.0 Ops/sec
replaceChildren 3115692.8 Ops/sec
append documentFragment 1945589.2 Ops/sec