Obj get vs Map get vs Map hasFastest: Obj get (1.2x faster)
96,473 ops/sec
82,195 ops/sec
81,946 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Obj get | |
| Map get | |
| Map has |
| Test name | Executions per second |
|---|---|
| ✓ Obj get | 104,835 Ops/sec |
| Map has | 88,132 Ops/sec |
| Map get | 87,940 Ops/sec |