Run details:
Mozilla/5.0 (Linux; Android 11; SM-A705FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
array.slice() 1102204.1 Ops/sec
array.splice() 1194354.1 Ops/sec
array.shift() 535127.4 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()