Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
5 years ago
Test name Executions per second
Lodash cloneDeep 38920.3 Ops/sec
Native concat 4727148.0 Ops/sec
Native unshift 4317700.5 Ops/sec
Native Stringify 74834.3 Ops/sec
Native slice 10160262.0 Ops/sec
Native slice at 0 10139565.0 Ops/sec
While Loop 3524792.5 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


;