Script Preparation code:
AخA
 
var total = 0;
var f1;
var f2 = function() {
  total++;
};
Tests:
  • if real

     
    if (f2) f2();
  • anonymous real

     
    (f2 || Function)();
  • if fake

     
    if (f1) f1();
  • anonymous fake

     
    (f1 || Function)();
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    if real
    anonymous real
    if fake
    anonymous fake

    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/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Chrome 133 on Windows
View result in a separate tab
Test name Executions per second
if real 194715584.0 Ops/sec
anonymous real 97450496.0 Ops/sec
if fake 231721376.0 Ops/sec
anonymous fake 7091074.0 Ops/sec