Test name | Executions per second |
---|---|
Array.find, 10 000 elements | 41527.4 Ops/sec |
Map.get, 10 000 elements | 1529079040.0 Ops/sec |
Array.find, 1 000 000 elements | 324.2 Ops/sec |
Map.get, 1 000 000 elements | 1555228928.0 Ops/sec |
Array to Map + Map.get, 1 lookup | 1532.0 Ops/sec |
Array to Map + Map.get, 10 lookups | 1538.2 Ops/sec |
Array to Map + Map.get, 100 lookups | 1532.0 Ops/sec |
Array.find, 10 lookups | 4186.8 Ops/sec |
Array.find, 100 lookups | 413.7 Ops/sec |