string concat + join vs unshift + join (2)

one month ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Test name Executions per second
string concat + join 10527600.0 Ops/sec
unshift + join 5708046.0 Ops/sec
Script Preparation code:
Tests:
  • string concat + join

  • unshift + join

Open this result on MeasureThat.net