HTML Preparation code:
Script Preparation code:
Tests:
  • T1 - set innerHTML

  • T2 - clone template - appendChild

  • T3 - clone Template - append

  • T4 - clone HTML Template

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    T1 - set innerHTML
    T2 - clone template - appendChild
    T3 - clone Template - append
    T4 - clone HTML Template

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Chrome 96 on Windows
View result in a separate tab
Test name Executions per second
T1 - set innerHTML 43822.3 Ops/sec
T2 - clone template - appendChild 52595.3 Ops/sec
T3 - clone Template - append 26.5 Ops/sec
T4 - clone HTML Template 27.1 Ops/sec


;