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 14188.6 Ops/sec
new Array 15073.8 Ops/sec
Array 14921.1 Ops/sec
for push 13128.7 Ops/sec
for index 12996.6 Ops/sec
While 14297.8 Ops/sec
Tests:
  • Array From

  • new Array

  • Array

  • for push

  • for index

  • While