Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Linux
Desktop
9 months ago
Test name Executions per second
new Array() 730251.6 Ops/sec
Array.from() 365310.8 Ops/sec
push 739153.0 Ops/sec
Hardcoded Array 879715.1 Ops/sec
Tests:
  • new Array()

  • Array.from()

  • push

  • Hardcoded Array