HTML Preparation code:
Tests:
  • Pure JavaScript

  • Strings / append

  • Strings array / append

  • Strings / innerHTML

  • Strings array / innerHTML

  • Strings / html

  • Strings array / html

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Pure JavaScript
    Strings / append
    Strings array / append
    Strings / innerHTML
    Strings array / innerHTML
    Strings / html
    Strings array / html

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100 on Windows
View result in a separate tab
Test name Executions per second
Pure JavaScript 14206.4 Ops/sec
Strings / append 11747.7 Ops/sec
Strings array / append 12276.7 Ops/sec
Strings / innerHTML 13655.4 Ops/sec
Strings array / innerHTML 21535.6 Ops/sec
Strings / html 18034.2 Ops/sec
Strings array / html 18125.7 Ops/sec