Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
in
94.9M/s
Object.prototype.hasOwnProperty
51.2M/s
Object.hasOwn
47.0M/s

Fastest: in (2.0x faster)

View exact numbers
  • in: 94,939,520 ops/sec
  • Object.prototype.hasOwnProperty: 51,175,464 ops/sec
  • Object.hasOwn: 46,999,880 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
    in
    Object.hasOwn
    Object.prototype.hasOwnProperty

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138 on Windows
View result in a separate tab
in
95.2M/s
Object.prototype.hasOwnProperty
53.3M/s
Object.hasOwn
49.0M/s
View exact numbers
Test name Executions per second
in 95,197,144 Ops/sec
Object.prototype.hasOwnProperty 53,286,856 Ops/sec
Object.hasOwn 48,965,920 Ops/sec