Script Preparation code:
AخA
 
var arr = ['1','2','3','4','5','6','7','8']
Tests:
  • join("-")

     
    arr.join("-")
  • toString

     
    arr.toString()
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    join("-")
    toString

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
join("-") 6823028.0 Ops/sec
toString 5727566.0 Ops/sec