Run details:
Mozilla/5.0 (Linux; Android 11; SM-G780F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
one year ago
Test name Executions per second
map 34367840.0 Ops/sec
array.from 3062357.0 Ops/sec
for loop 19060562.0 Ops/sec
foreach 20391990.0 Ops/sec
slice 58358012.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice