Run details:
Mozilla/5.0 (Android 13; Mobile; rv:120.0) Gecko/120.0 Firefox/120.0
Firefox Mobile 120
Android
Mobile
one year ago
Test name Executions per second
array.slice() 22603948.0 Ops/sec
array.splice() 15913642.0 Ops/sec
array.shift() 52861580.0 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()