HTML Preparation code:
AخA
 
1
<!--your preparation HTML code goes here-->
Script Preparation code:
 
var i1 = 0;
var i2 = 0;
var arr = [1,2,3,4,5,6,7,8,9]
Tests:
  • arr[i]

     
    i2 = 0;
    for( ; arr[i2] ; i2++ ){
      arr + 1 ;
    };
  • i1<arr.length

     
    i1 = 0;
    for( ; i1<arr.length ; i1++ ){
      arr + 1 ;
    };
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    arr[i]
    i1<arr.length

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109 on Windows
View result in a separate tab
Test name Executions per second
arr[i] 159738.3 Ops/sec
i1<arr.length 159618.0 Ops/sec