Run details:
Mozilla/5.0 (iPad; CPU OS 14_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.52 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 94
iOS 14.7
Tablet
3 years ago
Test name Executions per second
Object.assign 4482619.5 Ops/sec
spread operator 9586420.0 Ops/sec
_.extend 3626654.8 Ops/sec
HTML Preparation code:
Tests:
  • Object.assign

  • spread operator

  • _.extend