Tests:
  • String()

  • .toString()

  • concat

  • template

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String()
    .toString()
    concat
    template

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0
Firefox 152 on Windows
View result in a separate tab
Test name Executions per second
String() 7758796.0 Ops/sec
.toString() 8456647.0 Ops/sec
concat 8228376.5 Ops/sec
template 1869085.2 Ops/sec