Object access vs Proxy access vs Proxy with get handler accessFastest: Object access (2.2x faster)
14,805,948 ops/sec
14,266,912 ops/sec
6,832,534 ops/sec
Fastest: Object access (35.1x faster)
1,470,489,984 ops/sec
307,528,288 ops/sec
41,947,676 ops/sec
Fastest: Object access (1.8x faster)
19,457,380 ops/sec
19,456,676 ops/sec
10,606,861 ops/sec
Fastest: Object access (2.6x faster)
9,232,998 ops/sec
7,481,487 ops/sec
3,485,632 ops/sec
Fastest: Object access (2.6x faster)
9,649,313 ops/sec
8,917,138 ops/sec
3,774,656 ops/sec
Fastest: Object access (4.0x faster)
410,403,200 ops/sec
166,807,232 ops/sec
101,634,056 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Object access | |
| Proxy access | |
| Proxy with get handler access |
| Test name | Executions per second |
|---|---|
| ✓ Object access | 68,380,528 Ops/sec |
| Proxy access | 27,948,846 Ops/sec |
| Proxy with get handler access | 14,452,281 Ops/sec |