Run details:
Mozilla/5.0 (Linux; Android 12; SM-A526U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
flatMap 1533.2 Ops/sec
reduce 263.4 Ops/sec
while 5003.8 Ops/sec
foreach 149850.0 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • reduce

  • while

  • foreach