Tests:
-
array.slice()
-
array.splice()
-
array.shift()
-
array.pop()
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Mobile Safari/537.36 EdgA/135.0.0.0
Chrome Mobile 135 on Android
View result in a separate tab
View exact numbers
| Test name |
Executions per second |
|
✓
array.pop()
|
46,512,896 Ops/sec |
|
array.shift()
|
31,068,284 Ops/sec |
|
array.splice()
|
15,421,525 Ops/sec |
|
array.slice()
|
2,646,963 Ops/sec |
Do you really want to delete benchmark?