Run details:
Mozilla/5.0 (iPad; CPU OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.1.1
Tablet
one year ago
Test name Executions per second
Just instantiate new array 32907.2 Ops/sec
Set length to zero 33227.4 Ops/sec
Splice 28472.7 Ops/sec
Pop all values 18638.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values