Script Preparation code:
Tests:
  • collect mixed depth

  • collect2 mixed depth

  • collect nested

  • collect2 nested

  • collect with flat

  • collect2 with flat

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    collect mixed depth
    collect2 mixed depth
    collect nested
    collect2 nested
    collect with flat
    collect2 with flat

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: yesterday)
Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
Firefox 136 on Linux
View result in a separate tab
Test name Executions per second
collect mixed depth 1452357.2 Ops/sec
collect2 mixed depth 3062285.0 Ops/sec
collect nested 1506599.8 Ops/sec
collect2 nested 3568188.5 Ops/sec
collect with flat 1115576.8 Ops/sec
collect2 with flat 2033902.0 Ops/sec