Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.14.4
Desktop
one year ago
Test name Executions per second
Object.fromEntries 109.2 Ops/sec
Reduce (reuse object) 984.5 Ops/sec
Reduce (creating temporary objects) 17.8 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (creating temporary objects)


;