Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
11 months ago
Test name Executions per second
Object.assign 8785533.0 Ops/sec
spread operator 23382742.0 Ops/sec
_.extend 5322698.5 Ops/sec
HTML Preparation code:
Tests:
  • Object.assign

  • spread operator

  • _.extend