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

  • flatMap()

  • map().filter(Boolean)

  • map().filter(=>)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113 on Android
View result in a separate tab
Test name Executions per second
filter().map() 154.4 Ops/sec
flatMap() 49.7 Ops/sec
map().filter(Boolean) 122.0 Ops/sec
map().filter(=>) 29.1 Ops/sec