Tests:
-
Includes
-
Object[key]
-
Set.has
-
Object.hasOwnProperty
Rendered benchmark preparation results:
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/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Chrome 134 on Windows
View result in a separate tab
Object.hasOwnProperty
71.2M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Set.has
|
181,424,480 Ops/sec |
|
Includes
|
120,379,384 Ops/sec |
|
Object[key]
|
92,248,600 Ops/sec |
|
Object.hasOwnProperty
|
71,172,752 Ops/sec |
Do you really want to delete benchmark?