Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
Chrome 93
Mac OS X 10.13.6
Desktop
3 years ago
Test name Executions per second
Reduce / Spread 351.0 Ops/sec
Assign / Single spread 15111.9 Ops/sec
fromEntries / Entries 4952.6 Ops/sec
Script Preparation code:
Tests:
  • Reduce / Spread

  • Assign / Single spread

  • fromEntries / Entries

  • Assign / Mutate first obj


;