Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Windows
Other
8 years ago
Test name Executions per second
spreadArray by ertema 154614.6 Ops/sec
spreadArray by kbakba 63801.0 Ops/sec
spreadArray with comparsion and concat 50138.1 Ops/sec
spreadArray with concat only 45820.1 Ops/sec
spreadArray with comparsion only 196202.4 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