Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    groupBy with two while
    groupBy with while and filter
    groupBy with Set and filter
    groupBy with two filters

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Linux
View result in a separate tab
groupBy with two while
3.9M/s
groupBy with while and filter
2.3M/s
groupBy with two filters
1.5M/s
groupBy with Set and filter
564K/s
View exact numbers
Test name Executions per second
groupBy with two while 3,933,783 Ops/sec
groupBy with while and filter 2,348,533 Ops/sec
groupBy with two filters 1,463,304 Ops/sec
groupBy with Set and filter 563,889 Ops/sec