Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/124.0.6367.88 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 124
iOS 17.4
Mobile
6 months ago
Test name Executions per second
Object.fromEntries 387.2 Ops/sec
Reduce (reuse object) 678.8 Ops/sec
Reduce (creating temporary objects) 0.3 Ops/sec
Map 617.8 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (creating temporary objects)

  • Map


;