Tests:
  • length

    AخA
     
    var arr = [1, 2, 3, 4];
    arr.length = 0;
  • other

     
    var arr = [1, 2, 3, 4];
    arr = [];
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    length
    other

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Chrome 78 on Mac OS X 10.14.6
View result in a separate tab
Test name Executions per second
length 19362420.0 Ops/sec
other 920533056.0 Ops/sec