Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Safari/537.36
Chrome 96
Mac OS X 10.12.6
Desktop
3 years ago
Test name Executions per second
Array.from 843107.2 Ops/sec
Map 4542439.5 Ops/sec
Loop 5493149.5 Ops/sec
Loop push 25021052.0 Ops/sec
Tests:
  • Array.from

  • Map

  • Loop

  • Loop push