Tests:
  • String()

  • .toString()

  • template literal

  • gato

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 18 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132 on Linux
View result in a separate tab
Test name Executions per second
String() 3509922.0 Ops/sec
.toString() 3527494.2 Ops/sec
template literal 1042908.8 Ops/sec
gato 3500685.8 Ops/sec