Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Join x3
    Join x1 with string
    Join x1 with arrays
    string only
    template literal string with arrays
    template literal string with join
    string only + (toString)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141 on Windows
View result in a separate tab
string only
1.2M/s
template literal string with arrays
1.1M/s
template literal string with join
1.1M/s
string only + (toString)
1.1M/s
Join x3
1.0M/s
Join x1 with arrays
962K/s
Join x1 with string
800K/s
View exact numbers
Test name Executions per second
string only 1,176,855 Ops/sec
template literal string with arrays 1,145,723 Ops/sec
template literal string with join 1,136,297 Ops/sec
string only + (toString) 1,122,382 Ops/sec
Join x3 1,003,435 Ops/sec
Join x1 with arrays 962,416 Ops/sec
Join x1 with string 800,302 Ops/sec