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)
    Map
    for of
    for of without caching entries

    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/124.0.0.0 Safari/537.36
Chrome 124 on Mac OS X 10.15.7
View result in a separate tab
for of
2K/s
for of without caching entries
2K/s
Reduce (reuse object)
1K/s
Map
936/s
Object.fromEntries
182/s
Reduce (creating temporary objects)
51/s
View exact numbers
Test name Executions per second
for of 1,745 Ops/sec
for of without caching entries 1,710 Ops/sec
Reduce (reuse object) 1,439 Ops/sec
Map 936 Ops/sec
Object.fromEntries 182 Ops/sec
Reduce (creating temporary objects) 51 Ops/sec