Tests:
  • String concat

    AخA
     
    var target = ''
    target += '1,'
    target += '2,'
    target += '3,'
    target += '4,'
    target += '5,'
    target += '6,'
    target += '7,'
    target += '8,'
    target += '9,'
    target += '10,'
    target += '11,'
    target += '12,'
    target += '13,'
    target += '14,'
    target += '15,'
    target += '16,'
    target += '17,'
    target += '18,'
    target += '19,'
    target += '20,'
  • Array join

     
    var target = []
    target.push('1')
    target.push('2')
    target.push('3')
    target.push('4')
    target.push('5')
    target.push('6')
    target.push('7')
    target.push('8')
    target.push('9')
    target.push('10')
    target.push('11')
    target.push('12')
    target.push('13')
    target.push('14')
    target.push('15')
    target.push('16')
    target.push('17')
    target.push('18')
    target.push('19')
    target.push('20')
    target.join(',')
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    String concat
    Array join

    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; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
String concat 193232064.0 Ops/sec
Array join 1240013.6 Ops/sec