Tests:
-
array.splice()
-
array.shift()
-
array.pop()
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Mac OS X 10.15.7
View result in a separate tab
View exact numbers
| Test name |
Executions per second |
|
✓
array.pop()
|
36,534,964 Ops/sec |
|
array.shift()
|
36,435,736 Ops/sec |
|
array.splice()
|
27,720,114 Ops/sec |
Do you really want to delete benchmark?