HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • DOMParser in loop

  • DOMParser + cloneNode

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    innerHTML
    DOMParser in loop
    DOMParser + cloneNode

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36
Chrome Mobile 126 on Android
View result in a separate tab
Test name Executions per second
innerHTML 5.6 Ops/sec
DOMParser in loop 2.4 Ops/sec
DOMParser + cloneNode 14.1 Ops/sec


;