Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Reduce and Spread
    ForEach and Mutate (for .. in loop)
    Mutate with Object.assign
    Foreach and Mutate (Object.assign)
    Reduce Mutate
    reduce mutate 2
    reduce mutate 3

    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/127.0.0.0 Safari/537.36
Chrome 127 on Mac OS X 10.15.7
View result in a separate tab
ForEach and Mutate (for .. in loop)
237K/s
reduce mutate 2
232K/s
Mutate with Object.assign
159K/s
Reduce and Spread
56K/s
Reduce Mutate
15K/s
reduce mutate 3
14K/s
Foreach and Mutate (Object.assign)
14K/s
View exact numbers
Test name Executions per second
ForEach and Mutate (for .. in loop) 237,258 Ops/sec
reduce mutate 2 232,358 Ops/sec
Mutate with Object.assign 159,432 Ops/sec
Reduce and Spread 56,009 Ops/sec
Reduce Mutate 15,005 Ops/sec
reduce mutate 3 14,103 Ops/sec
Foreach and Mutate (Object.assign) 13,881 Ops/sec