Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101
Windows 7
Desktop
2 years ago
Test name Executions per second
Just instantiate new array 4176.7 Ops/sec
Set length to zero 3565.1 Ops/sec
Splice 3987.1 Ops/sec
Pop all values 3390.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;