Script Preparation code:
Tests:
  • Filter + ForEach

  • ForEach with If

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Filter + ForEach
    ForEach with If

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0
Chrome 149 on Windows
View result in a separate tab
Test name Executions per second
Filter + ForEach 21297.3 Ops/sec
ForEach with If 38683.0 Ops/sec