Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Linux
Desktop
9 months ago
Test name Executions per second
new Array() 336934.0 Ops/sec
Array.from() 168776.4 Ops/sec
push 350239.2 Ops/sec
Hardcoded Array 711022.2 Ops/sec
Tests:
  • new Array()

  • Array.from()

  • push

  • Hardcoded Array