Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Chrome 89
Mac OS X 11.2.2
Desktop
3 years ago
Test name Executions per second
map 66850872.0 Ops/sec
array.from 6680749.5 Ops/sec
for loop 35799988.0 Ops/sec
foreach 37995512.0 Ops/sec
slice 115319160.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice


;