Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Mobile Safari/537.36 EdgA/122.0.0.0
Chrome Mobile 122
Android
Mobile
9 months ago
Test name Executions per second
new Array() 533184.8 Ops/sec
Array.from() 25418.8 Ops/sec
push 342962.4 Ops/sec
Hardcoded Array 83541760.0 Ops/sec
Tests:
  • new Array()

  • Array.from()

  • push

  • Hardcoded Array