Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    String()
    .toString()
    String Literal
    String Concat

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Mac OS X 10.15.7
View result in a separate tab
String Literal
4.0M/s
String()
3.9M/s
String Concat
3.9M/s
.toString()
1.0M/s
View exact numbers
Test name Executions per second
String Literal 3,967,012 Ops/sec
String() 3,944,864 Ops/sec
String Concat 3,925,930 Ops/sec
.toString() 1,021,404 Ops/sec