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

  • Array.from()

  • push

  • Hardcoded Array