Script Preparation code:
Tests:
  • filter with push (bigArr)

  • filter with reduce (bigArr)

  • filter with push (smallArr)

  • filter with reduce (smallArr)

  • filter with push (vSmallArr)

  • filter with reduce (vSmallArr)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    filter with push (bigArr)
    filter with reduce (bigArr)
    filter with push (smallArr)
    filter with reduce (smallArr)
    filter with push (vSmallArr)
    filter with reduce (vSmallArr)

    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/110.0.0.0 Safari/537.36
Chrome 110 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
filter with push (bigArr) 274531.2 Ops/sec
filter with reduce (bigArr) 7216.6 Ops/sec
filter with push (smallArr) 10106798.0 Ops/sec
filter with reduce (smallArr) 4004211.0 Ops/sec
filter with push (vSmallArr) 9626839.0 Ops/sec
filter with reduce (vSmallArr) 3903657.5 Ops/sec