Tests:
-
lodash has true
-
lodash has false
-
object.hasown true
-
object.hasown false
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0
Opera 106 on Windows
View result in a separate tab
object.hasown true
7.1M/s
object.hasown false
7.1M/s
View exact numbers
| Test name |
Executions per second |
|
✓
object.hasown true
|
7,077,170 Ops/sec |
|
object.hasown false
|
7,054,988 Ops/sec |
|
lodash has true
|
3,799,032 Ops/sec |
|
lodash has false
|
3,661,034 Ops/sec |
Do you really want to delete benchmark?