Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Array.from 4275527.0 Ops/sec
Map 7605061.5 Ops/sec
Loop 13238426.0 Ops/sec
Loop push 34160480.0 Ops/sec
Tests:
  • Array.from

  • Map

  • Loop

  • Loop push