Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Chrome 97
Windows
Desktop
2 years ago
Test name Executions per second
Lodash clone 1595850.1 Ops/sec
ES6 spread 11437084.0 Ops/sec
ES6 Object.assign 3367141.8 Ops/sec
Json 439116.3 Ops/sec
copy 160056.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash clone

  • ES6 spread

  • ES6 Object.assign

  • Json

  • copy


;