Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
Reduce (reuse object)
3K/s
Object.fromEntries
337/s
Object.assign
284/s
Reduce (creating temporary objects)
108/s
View exact numbers
Test name Executions per second
Reduce (reuse object) 3,036 Ops/sec
Object.fromEntries 337 Ops/sec
Object.assign 284 Ops/sec
Reduce (creating temporary objects) 108 Ops/sec