Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/105.0.5195.98 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 105
iOS 15.5
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 27936.6 Ops/sec
Set length to zero 27790.4 Ops/sec
Splice 20712.9 Ops/sec
Pop all values 14368.5 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;