Tests:
-
Array to Map and find
-
Array.find
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Chrome 138 on Linux
View result in a separate tab
Array to Map and find
24.5M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Array to Map and find
|
24,484,348 Ops/sec |
|
Array.find
|
1,218,406 Ops/sec |
Do you really want to delete benchmark?