Script Preparation code:
Tests:
  • filter().map()

  • flatMap()

  • mapFilter(Boolean)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    filter().map()
    flatMap()
    mapFilter(Boolean)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
filter().map() 879.0 Ops/sec
flatMap() 983.8 Ops/sec
mapFilter(Boolean) 682.2 Ops/sec