Script Preparation code:
Tests:

Historical Performance Data aggregated from 14 community runs

Desktop Results:
Chrome 14 runs
typeof
104.0M/s
operator
102.9M/s
bool
101.3M/s
in
98.3M/s
undefined
95.7M/s
View exact numbers
  • typeof: 103,957,792 ops/sec
  • operator: 102,867,168 ops/sec
  • bool: 101,316,880 ops/sec
  • in: 98,316,184 ops/sec
  • undefined: 95,687,120 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    undefined
    typeof
    in
    operator
    bool

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Chrome 143 on Mac OS X 10.15.7
View result in a separate tab
undefined
191.7M/s
operator
188.0M/s
in
187.3M/s
typeof
179.3M/s
bool
176.3M/s
View exact numbers
Test name Executions per second
undefined 191,739,312 Ops/sec
operator 187,955,520 Ops/sec
in 187,346,352 Ops/sec
typeof 179,324,912 Ops/sec
bool 176,277,840 Ops/sec