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 14252.9 Ops/sec
new Array 15203.5 Ops/sec
Array 14870.6 Ops/sec
for push 12916.7 Ops/sec
for index 12758.7 Ops/sec
While 14120.9 Ops/sec
Tests:
  • Array From

  • new Array

  • Array

  • for push

  • for index

  • While