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
9 months ago
Test name Executions per second
Object.assign 6923156.0 Ops/sec
spread operator 16885488.0 Ops/sec
_.extend 4760370.5 Ops/sec
HTML Preparation code:
Tests:
  • Object.assign

  • spread operator

  • _.extend