Run details:
Mozilla/5.0 (Linux; Android 10; POCO F1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
3 years ago
Test name Executions per second
Object.fromEntries 59.3 Ops/sec
Reduce (reuse object) 466.8 Ops/sec
Reduce (creating temporary objects) 15.4 Ops/sec
Script Preparation code:
Tests:
  • Object.fromEntries

  • Reduce (reuse object)

  • Reduce (creating temporary objects)


;