Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows 7
Desktop
2 years ago
Test name Executions per second
pop 23175082.0 Ops/sec
shift 302509408.0 Ops/sec
length 10424317.0 Ops/sec
reassignment 13016813.0 Ops/sec
.splice(0) 3938341.8 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)