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

  • flatMap()

  • map.flat

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 12; DCO-LX9; HMSCore 6.12.2.302) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 HuaweiBrowser/14.0.2.311 Mobile Safari/537.36
Chrome 99 on Android
View result in a separate tab
Test name Executions per second
filter().map() 1901760.5 Ops/sec
flatMap() 182680.8 Ops/sec
map.flat 180410.6 Ops/sec


;