Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Array From 14243.5 Ops/sec
new Array 14869.7 Ops/sec
Array 14688.0 Ops/sec
for push 12896.2 Ops/sec
for index 12941.3 Ops/sec
While 14436.4 Ops/sec
Tests:
  • Array From

  • new Array

  • Array

  • for push

  • for index

  • While