Tests:
-
Array.find
-
Array.indexOf
-
Map.has
-
Object.hasOwnProperty
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
Object.hasOwnProperty
138.1M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Map.has
|
226,866,512 Ops/sec |
|
Object.hasOwnProperty
|
138,108,304 Ops/sec |
|
Array.indexOf
|
139,589 Ops/sec |
|
Array.find
|
2,238 Ops/sec |
Do you really want to delete benchmark?