Script Preparation code:
AخA
 
var strings = [...Array(1000).keys()].map(i => '' + i)
Tests:
  • join

     
    var joined = strings.join(',')
  • reduce

     
    var reduced = strings.reduce((acc, cur) => acc + ',' + cur)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    join
    reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0
Firefox 93 on Windows
View result in a separate tab
Test name Executions per second
join 57503.2 Ops/sec
reduce 50263.1 Ops/sec