Run details:
Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Microsoft; Lumia 950 Dual SIM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Mobile Safari/537.36 Edge/14.14393
Chrome Mobile 51
Windows Phone 10.0
Lumia 950
8 years ago
Test name Executions per second
spreadArray by ertema 110043.3 Ops/sec
spreadArray by kbakba 126027.9 Ops/sec
spreadArray with comparsion and concat 34098.2 Ops/sec
spreadArray with concat only 33443.1 Ops/sec
spreadArray with comparsion only 102031.8 Ops/sec
Script Preparation code:
Tests:
  • spreadArray by ertema

  • spreadArray by kbakba

  • spreadArray with comparsion and concat

  • spreadArray with concat only

  • spreadArray with comparsion only