Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3824.6 Safari/537.36
Chrome 77
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
Object spread 3541088.0 Ops/sec
Object.assign 6048549.5 Ops/sec
_.extend 2461953.8 Ops/sec
immutable record 145949.8 Ops/sec
Babelified spread 957984.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Object spread

  • Object.assign

  • _.extend

  • immutable record

  • Babelified spread