Run details:
Mozilla/5.0 (Android 14; Mobile; rv:131.0) Gecko/131.0 Firefox/131.0
Firefox Mobile 131
Android
Mobile
2 months ago
Test name Executions per second
array.slice() 26359738.0 Ops/sec
array.splice() 22396854.0 Ops/sec
array.shift() 62249896.0 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()