HTML Preparation code:
Tests:
  • appendChild to fragment, then append after getElementById (with cloneNode)

  • appendChild to fragment, then append after createElement (with cloneNode)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    appendChild to fragment, then append after getElementById (with cloneNode)
    appendChild to fragment, then append after createElement (with cloneNode)

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
appendChild to fragment, then append after getElementById (with cloneNode) 16487.8 Ops/sec
appendChild to fragment, then append after createElement (with cloneNode) 14868.2 Ops/sec