Tests:
  • 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)

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: 6 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
Test name Executions per second
Join x3 1003435.0 Ops/sec
Join x1 with string 800301.6 Ops/sec
Join x1 with arrays 962415.9 Ops/sec
string only 1176855.0 Ops/sec
template literal string with arrays 1145722.6 Ops/sec
template literal string with join 1136297.0 Ops/sec
string only + (toString) 1122381.6 Ops/sec