Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Linux
Desktop
4 months ago
Test name Executions per second
map 42152180.0 Ops/sec
array.from 11286518.0 Ops/sec
for loop 65905524.0 Ops/sec
foreach 59199772.0 Ops/sec
slice 59034312.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice