Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Chrome 70
Mac OS X 10.16.0
Desktop
one year ago
Test name Executions per second
Object.assign 5790906.5 Ops/sec
spread operator 3706889.2 Ops/sec
_.extend 3676932.5 Ops/sec
HTML Preparation code:
Tests:
  • Object.assign

  • spread operator

  • _.extend