array find vs object index
4 years ago
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Test name |
Executions per second |
array find |
25212680.0 Ops/sec |
object index |
694619600.0 Ops/sec |
Open this result on MeasureThat.net