Run details:
Mozilla/5.0 (Linux; Android 5.1.1; Redmi 3 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 YaBrowser/16.7.0.2777.00 Mobile Safari/537.36
Yandex Browser 16
Android 5.1.1
Redmi 3
8 years ago
Test name Executions per second
spreadArray by ertema 42361.7 Ops/sec
spreadArray by kbakba 52823.1 Ops/sec
spreadArray with comparsion and concat 6219.1 Ops/sec
spreadArray with concat only 5866.1 Ops/sec
spreadArray with comparsion only 48617.2 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


;