Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/20100101 Firefox/137.0
Firefox 137
Windows
Desktop
10 days ago
Test name Executions per second
test equality 23405.6 Ops/sec
test strict equality 23896.4 Ops/sec
test inequality 402453056.0 Ops/sec
test strict inequality 402375936.0 Ops/sec
Tests:
  • test equality

    AخA
     
    var n = 0;
    while(true) {
        n++;
        if(n==100000) 
            break;
    }
  • test strict equality

     
    var n = 0;
    while(true) {
        n++;
        if(n===100000) 
            break;
    }
  • test inequality

     
    var n = 0;
    while(true) {
        n++;
        if(n!=100000) 
            break;
    }
  • test strict inequality

     
    var n = 0;
    while(true) {
        n++;
        if(n!==100000) 
            break;
    }