Script Preparation code:
AخA
 
var test = 0.4;
var lTimeQuantInSeconds_num = 1;
Tests:
  • if nested

     
    if (test < lTimeQuantInSeconds_num)
    {
      if (test < lTimeQuantInSeconds_num * 0.5)
      {
        test = 0;
      }
    }
  • if one

     
    if (test < lTimeQuantInSeconds_num && test < lTimeQuantInSeconds_num * 0.5)
    {
        test = 0;
    }
  • if single

     
    if (test < lTimeQuantInSeconds_num * 0.5)
    {
        test = 0;
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    if nested
    if one
    if single

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 21 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
Chrome 133 on Windows
View result in a separate tab
Test name Executions per second
if nested 9270483.0 Ops/sec
if one 9370201.0 Ops/sec
if single 9251787.0 Ops/sec