Run details:
Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-N975F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
array.slice() 2724086.2 Ops/sec
array.splice() 3158148.5 Ops/sec
array.shift() 1409873.6 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()