Upload Diagnostic

Phase 1–2: Minimal test with hard timings

DIAGNOSTIC LOGS (newest first)
03:41:05READYTap 'Select Image' to begin test
03:41:05MEMORY_INITIALused=5.5MB total=6.5MB limit=1301.5MB
03:41:05NETWORK_INFOonline=true type=4g downlink=10Mbps rtt=50ms
03:41:05DEVICE_INFOua=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.0.0 Safari/537.36
What this test measures:
Upload time — raw bytes to storage (should be <2s on 4G)
DB write time — record create + update
Total time — tap to rendered image
If upload >5s → infrastructure bottleneck
If upload <2s but total >5s → pipeline bottleneck