Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Linux
Desktop
5 years ago
Test name Executions per second
Object.assign 2770270.0 Ops/sec
jQuery extend 568839.9 Ops/sec
Immutable merge 613018.6 Ops/sec
Ramda merge 231702.0 Ops/sec
Spread operator 9160167.0 Ops/sec
HTML Preparation code:
Tests:
  • Object.assign

  • jQuery extend

  • Immutable merge

  • Ramda merge

  • Spread operator