Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
Chrome 71
Windows 7
Desktop
5 years ago
Test name Executions per second
Lodash clone 1402855.4 Ops/sec
Native concat 1527690.1 Ops/sec
Native unshift 825742.9 Ops/sec
Native Stringify 87864.1 Ops/sec
Native slice 2623511.0 Ops/sec
Native slice at 0 2443666.8 Ops/sec
While Loop 878795.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • Native concat

  • Native unshift

  • Native Stringify

  • Native slice

  • Native slice at 0

  • While Loop


;