Run details:
Mozilla/5.0 (Linux; Android 11; Pixel 4a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
3 years ago
Test name Executions per second
Object.fromEntries 65.6 Ops/sec
Reduce (reuse object) 554.6 Ops/sec
Reduce (creating temporary objects) 18.1 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (creating temporary objects)


;