Run details:
Mozilla/5.0 (Linux; Android 12; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/21.0 Chrome/110.0.5481.154 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
reduce with concat 2.1 Ops/sec
flatMap 79.6 Ops/sec
Script Preparation code:
Tests:
  • reduce with concat

  • flatMap