Run details:
Mozilla/5.0 (X11; CrOS x86_64 13982.69.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.130 Safari/537.36
Chrome 92
Chrome OS 13982.69.0
Desktop
3 years ago
Test name Executions per second
filter().map() 296.3 Ops/sec
flatMap() 95.0 Ops/sec
Script Preparation code:
Tests:
  • filter().map()

  • flatMap()