Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
foreach 4544.2 Ops/sec
for 2264.5 Ops/sec
map 4448.3 Ops/sec
filter 4294.5 Ops/sec
reduce 4628.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map

  • filter

  • reduce