Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Windows
Desktop
6 months ago
Test name Executions per second
test equality 21316.1 Ops/sec
test strict equality 21333.8 Ops/sec
test inequality 608214272.0 Ops/sec
test strict inequality 606771584.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;
    }