Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
in
16.3M/s
direct access (bool)
16.1M/s
hasOwnProperty
14.1M/s

Fastest: in (1.2x faster)

View exact numbers
  • in: 16,320,565 ops/sec
  • direct access (bool): 16,050,136 ops/sec
  • hasOwnProperty : 14,138,292 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
    hasOwnProperty
    direct access (bool)
    in

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Mac OS X 10.15.7
View result in a separate tab
in
244.4M/s
direct access (bool)
228.9M/s
hasOwnProperty
107.2M/s
View exact numbers
Test name Executions per second
in 244,367,904 Ops/sec
direct access (bool) 228,927,376 Ops/sec
hasOwnProperty 107,208,232 Ops/sec