Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Linux
Desktop
4 months ago
Test name Executions per second
array.slice() 23105690.0 Ops/sec
array.splice() 14160404.0 Ops/sec
array.shift() 53834112.0 Ops/sec
Script Preparation code:
Tests:
  • array.slice()

  • array.splice()

  • array.shift()