Get Function vs Proxy access vs Get function wrapped in proxy vs Proxy wrapped in proxyFastest: Get Function (2.5x faster)
5,969,040 ops/sec
3,697,301 ops/sec
3,291,237 ops/sec
2,383,644 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Get Function | |
| Proxy access | |
| Get function wrapped in proxy | |
| Proxy wrapped in proxy |
| Test name | Executions per second |
|---|---|
| ✓ Get Function | 234,383,712 Ops/sec |
| Get function wrapped in proxy | 68,931,712 Ops/sec |
| Proxy access | 44,140,048 Ops/sec |
| Proxy wrapped in proxy | 30,115,650 Ops/sec |