Script Preparation code:
Tests:
  • Reduce (creating temporary objects)

  • Reduce (reuse object)

  • Object.fromEntries

  • Plain

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Reduce (creating temporary objects)
    Reduce (reuse object)
    Object.fromEntries
    Plain

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Chrome 126 on Windows
View result in a separate tab
Test name Executions per second
Reduce (creating temporary objects) 52782.8 Ops/sec
Reduce (reuse object) 139551.7 Ops/sec
Object.fromEntries 75299.4 Ops/sec
Plain 118521.5 Ops/sec


;