Read directly from prop vs Set directly to prop vs Read from getter vs Set to setter16,803,244 ops/sec
16,732,170 ops/sec
16,730,638 ops/sec
16,665,354 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Read directly from prop | |
| Set directly to prop | |
| Read from getter | |
| Set to setter |
| Test name | Executions per second |
|---|---|
| ✓ Read directly from prop | 24,585,596 Ops/sec |
| Set directly to prop | 23,927,744 Ops/sec |
| Set to setter | 23,891,894 Ops/sec |
| Read from getter | 23,733,250 Ops/sec |