Run details:
Mozilla/5.0 (Linux; Android 7.0; LG-M400) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android 7.0
Mobile
3 years ago
Test name Executions per second
split reverse join 6.4 Ops/sec
traditional for loop 12.7 Ops/sec
for of 11.1 Ops/sec
traditional for loop and join 4.8 Ops/sec
spread reverse join 5.6 Ops/sec
Script Preparation code:
Tests:
  • split reverse join

  • traditional for loop

  • for of

  • traditional for loop and join

  • spread reverse join