Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Mac OS X 10.15
Desktop
2 months ago
Test name Executions per second
Object.fromEntries 2008.6 Ops/sec
Reduce (reuse object) 1925.4 Ops/sec
Reduce (map in reducer) 2423.9 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (map in reducer)