Script Preparation code:
AخA
 
x = false;
Tests:
  • !!x

     
    return !!x;
  • x

     
    return x;
  • x === false

     
    return x === false;
  • booooo

     
    return x == false;
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    !!x
    x
    x === false
    booooo

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75 on Fedora
View result in a separate tab
Test name Executions per second
!!x 5111261.5 Ops/sec
x 5176799.0 Ops/sec
x === false 5080040.5 Ops/sec
booooo 4739077.5 Ops/sec