HTML Preparation code:
Script Preparation code:
Tests:
  • JavaScript Template

  • only innerHTML

  • DOM Template, repeated getElementById

  • DOM Template, single getElementById

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JavaScript Template
    only innerHTML
    DOM Template, repeated getElementById
    DOM Template, single getElementById

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 26 days ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132 on Ubuntu
View result in a separate tab
Test name Executions per second
JavaScript Template 85865.4 Ops/sec
only innerHTML 77898.4 Ops/sec
DOM Template, repeated getElementById 67202.9 Ops/sec
DOM Template, single getElementById 20676.2 Ops/sec