Tests:
-
Array.Prototype.find
-
Array.Prototype.findIndex
-
For loop
-
LoDash
-
Underscore
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/129.0.0.0 Safari/537.36
Chrome 129 on Windows
View result in a separate tab
Array.Prototype.find
255/s
Array.Prototype.findIndex
248/s
View exact numbers
| Test name |
Executions per second |
|
✓
LoDash
|
263 Ops/sec |
|
Array.Prototype.find
|
255 Ops/sec |
|
Array.Prototype.findIndex
|
248 Ops/sec |
|
Underscore
|
241 Ops/sec |
|
For loop
|
87 Ops/sec |
Do you really want to delete benchmark?