Test case name | Result |
---|---|
Array.find, 100 elementos | |
Array.find, 10 000 elementos | |
Array.find, 1 000 000 elementos | |
Array to Map + Map.get, 100 elementos | |
Array to Map + Map.get, 10 000 elementos | |
Array to Map + Map.get, 1 000 000 elementos | |
Array.find, TINY, 10 buscas | |
Array to Map + Map.get, TINY, 10 buscas | |
Array.find, SMALL, 100 buscas | |
Array to Map + Map.get, SMALL, 100 buscas | |
Array.find, SMALL, 1000 buscas | |
Array to Map + Map.get, SMALL, 1000 buscas |
Test name | Executions per second |
---|---|
Array.find, 100 elementos | 1881644.4 Ops/sec |
Array.find, 10 000 elementos | 101490.7 Ops/sec |
Array.find, 1 000 000 elementos | 194.5 Ops/sec |
Array to Map + Map.get, 100 elementos | 210262.8 Ops/sec |
Array to Map + Map.get, 10 000 elementos | 1303.2 Ops/sec |
Array to Map + Map.get, 1 000 000 elementos | 4.5 Ops/sec |
Array.find, TINY, 10 buscas | 166035.1 Ops/sec |
Array to Map + Map.get, TINY, 10 buscas | 127695.0 Ops/sec |
Array.find, SMALL, 100 buscas | 1137.4 Ops/sec |
Array to Map + Map.get, SMALL, 100 buscas | 1217.3 Ops/sec |
Array.find, SMALL, 1000 buscas | 125.7 Ops/sec |
Array to Map + Map.get, SMALL, 1000 buscas | 868.0 Ops/sec |