Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
map().filter() 3876284.0 Ops/sec
reduce() 10641718.0 Ops/sec
flatMap 656532.2 Ops/sec
Script Preparation code:
Tests:
  • map().filter()

  • reduce()

  • flatMap


;