JSON parse nested vs JSON parse flatFastest: JSON parse flat (1.6x faster)
964,467 ops/sec
591,788 ops/sec
709,361 ops/sec
674,037 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| JSON parse nested | |
| JSON parse flat |
| Test name | Executions per second |
|---|---|
| ✓ JSON parse flat | 1,464,620 Ops/sec |
| JSON parse nested | 883,498 Ops/sec |