Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Chrome 70
Windows
Desktop
5 years ago
Test name Executions per second
Lodash cloneDeep 281857.9 Ops/sec
Native concat 1913944.5 Ops/sec
Native unshift 1509820.9 Ops/sec
Native Stringify 122546.7 Ops/sec
Native slice 3306629.8 Ops/sec
Native slice at 0 3509395.2 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


;