Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Windows
Desktop
9 months ago
Test name Executions per second
new Array() 861810.1 Ops/sec
Array.from() 362252.6 Ops/sec
push 902151.9 Ops/sec
Hardcoded Array 1160920.0 Ops/sec
Tests:
  • new Array()

  • Array.from()

  • push

  • Hardcoded Array