Tests:
-
Object.hasOwn
-
Set.prototype.has
-
Object.prototype.hasOwnProperty
-
in
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Windows
View result in a separate tab
Object.prototype.hasOwnProperty
15K/s
View exact numbers
| Test name |
Executions per second |
|
✓
in
|
15,555 Ops/sec |
|
Object.prototype.hasOwnProperty
|
15,377 Ops/sec |
|
Object.hasOwn
|
15,110 Ops/sec |
|
Set.prototype.has
|
15,104 Ops/sec |
Do you really want to delete benchmark?