Run details:
Mozilla/5.0 (X11; CrOS x86_64 15054.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Chrome OS 15054.98.0
Desktop
2 years ago
Test name Executions per second
Object.fromEntries 117.7 Ops/sec
Reduce (reuse object) 910.6 Ops/sec
Reduce (creating temporary objects) 31.0 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (creating temporary objects)