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 13966.8 Ops/sec
new Array 15044.0 Ops/sec
Array 14938.0 Ops/sec
for push 13061.6 Ops/sec
for index 13081.0 Ops/sec
While 14238.5 Ops/sec
Tests:
  • Array From

  • new Array

  • Array

  • for push

  • for index

  • While