Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119 on Mac OS X 10.15.7
View result in a separate tab
Reduce (reuse object)
595K/s
Object.fromEntries (with transform data)
494K/s
Reduce (creating temporary objects)
231K/s
View exact numbers
Test name Executions per second
Reduce (reuse object) 594,681 Ops/sec
Object.fromEntries (with transform data) 494,121 Ops/sec
Reduce (creating temporary objects) 230,515 Ops/sec