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 37964.3 Ops/sec
Native concat 4677062.0 Ops/sec
Native unshift 3660817.0 Ops/sec
Native Stringify 40947.8 Ops/sec
Native slice 7870186.5 Ops/sec
Native slice at 0 9517285.0 Ops/sec
While Loop 2809928.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


;