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 | 118.0μs | 100.5μs | 532.2μs | 93.8μs | 113.6μs | 206.3μs | 381.1μs | 167.4μs |
| Secure Data Storage | 69.4μs | 30.7μs | 100.4μs | 31.6μs | 64.2μs | 144.8μs | 204.4μs | 60.1μs |
| Ml Model Serialization | 261.7μs | 70.1μs | 183.2μs | 69.8μs | 261.0μs | 262.9μs | 549.6μs | 104.9μs |
| Mobile App Sync | 114.0μs | 45.0μs | 191.6μs | 47.1μs | 110.1μs | 168.5μs | 283.4μs | 80.4μs |
| Web Service Integration | 64.9μs | 44.2μs | 109.5μs | 43.4μs | 66.3μs | 145.4μs | 213.8μs | 72.2μ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 |