Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/121.0.6167.138 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 121
iOS 16.3
Mobile
10 months ago
Test name Executions per second
array.slice() 3971604.2 Ops/sec
array.splice() 4118612.8 Ops/sec
array.shift() 2108440.0 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()