Script Preparation code:
AخA
 
var array = [].fill(1,0,10000)
Tests:
  • delete

     
    for(var x=0; x<array.length; x++){
     delete array[x] 
    }
  • splice

     
    while(array.length - 3 > 0){
      array.splice(2,1)
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    delete
    splice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 20 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Chrome 133 on Windows
View result in a separate tab
Test name Executions per second
delete 67623640.0 Ops/sec
splice 66788616.0 Ops/sec