Performance comparison across different DataSON API methods for real-world scenarios.
| Scenario | deserialize | dump_fast | dump_secure | dumps | load_basic | load_smart | loads | serialize |
|---|---|---|---|---|---|---|---|---|
| Api Response Processing | 123.4μs | 95.4μs | 476.6μs | 96.8μs | 116.6μs | 204.8μs | 364.0μs | 183.5μs |
| Secure Data Storage | 65.0μs | 31.3μs | 103.0μs | 32.1μs | 68.0μs | 133.0μs | 206.9μs | 61.1μs |
| Ml Model Serialization | 263.4μs | 71.4μs | 178.4μs | 74.9μs | 261.9μs | 248.0μs | 549.0μs | 108.2μs |
| Mobile App Sync | 114.0μs | 48.1μs | 194.9μs | 45.5μs | 114.1μs | 171.1μs | 287.8μs | 89.3μs |
| Web Service Integration | 68.6μs | 40.1μs | 117.9μs | 41.7μs | 65.4μs | 149.7μs | 216.2μs | 70.6μs |
DataSON performance compared to other popular serialization libraries.
Performance baseline for DataSON v0.13.0 - future versions will be compared against these metrics.
| Scenario | Serialize Time | Deserialize Time | Output Size |
|---|---|---|---|
| Api Response Processing | Error | Error | 3 chars |
| Secure Data Storage | Error | Error | 2 chars |
| Ml Model Serialization | Error | Error | 1 chars |
| Mobile App Sync | Error | Error | 1 chars |
| Web Service Integration | Error | Error | 1 chars |