Hashmap vs Array.filterFastest: Hashmap (2325.6x faster)
869 ops/sec
0 ops/sec
Fastest: Hashmap (960.8x faster)
572 ops/sec
1 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Hashmap | |
| Array.filter |
| Test name | Executions per second |
|---|---|
| ✓ Hashmap | 18,745 Ops/sec |
| Array.filter | 0 Ops/sec |