benchmark/ misst Sync-Schreiben, App-Start, Chat oeffnen, lokale Suche und die Migrationsdauer (A-B-B-A, Aufwaermlauf, Median), schreibt build/benchmarks/*.json und vergleicht mit benchmark/baseline/. scripts/test.ps1 fuehrt Analyse, Unit-Tests, optional Live-Test (-Live) und Benchmarks (-Bench) mit einem Befehl aus. Co-Authored-By: Claude Opus 5.5 <[email protected]>
152 lines
3.6 KiB
JSON
152 lines
3.6 KiB
JSON
{
|
|
"suite": "db",
|
|
"timestamp": "2026-10-07T11:35:13.322832",
|
|
"git": "b2413ef",
|
|
"host": {
|
|
"os": "\"Windows 11 Home\" 10.0 (Build 26200)",
|
|
"cpus": 12
|
|
},
|
|
"params": {
|
|
"rooms": 20,
|
|
"eventsPerRoom": 500
|
|
},
|
|
"metrics": {
|
|
"klartext.write_total_ms": {
|
|
"label": "[klartext] Sync-Schreiben, 10000 Nachrichten",
|
|
"unit": "ms",
|
|
"value": 2513.443,
|
|
"min": 2469.054,
|
|
"runs": 2,
|
|
"compare": true
|
|
},
|
|
"klartext.write_per_event_us": {
|
|
"label": "[klartext] Sync-Schreiben je Nachricht",
|
|
"unit": "µs",
|
|
"value": 251.344,
|
|
"runs": 1,
|
|
"compare": true
|
|
},
|
|
"klartext.startup_ms": {
|
|
"label": "[klartext] App-Start: DB + Raumliste",
|
|
"unit": "ms",
|
|
"value": 4.121,
|
|
"min": 3.254,
|
|
"runs": 6,
|
|
"compare": true
|
|
},
|
|
"klartext.open_chat_ms": {
|
|
"label": "[klartext] Chat öffnen (50 Nachr.)",
|
|
"unit": "ms",
|
|
"value": 0.328,
|
|
"min": 0.286,
|
|
"runs": 6,
|
|
"compare": true
|
|
},
|
|
"klartext.search_miss_ms": {
|
|
"label": "[klartext] Suche ohne Treffer (Worst Case)",
|
|
"unit": "ms",
|
|
"value": 63.897,
|
|
"min": 63.716,
|
|
"runs": 4,
|
|
"compare": true
|
|
},
|
|
"klartext.search_hit_ms": {
|
|
"label": "[klartext] Suche mit Treffern",
|
|
"unit": "ms",
|
|
"value": 31.777,
|
|
"min": 31.202,
|
|
"runs": 4,
|
|
"compare": true
|
|
},
|
|
"klartext.size_mb": {
|
|
"label": "[klartext] DB-Größe inkl. WAL",
|
|
"unit": "MB",
|
|
"value": 4.008,
|
|
"runs": 1,
|
|
"compare": false
|
|
},
|
|
"sqlcipher.write_total_ms": {
|
|
"label": "[sqlcipher] Sync-Schreiben, 10000 Nachrichten",
|
|
"unit": "ms",
|
|
"value": 2615.633,
|
|
"min": 2456.356,
|
|
"runs": 2,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.write_per_event_us": {
|
|
"label": "[sqlcipher] Sync-Schreiben je Nachricht",
|
|
"unit": "µs",
|
|
"value": 261.563,
|
|
"runs": 1,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.startup_ms": {
|
|
"label": "[sqlcipher] App-Start: DB + Raumliste",
|
|
"unit": "ms",
|
|
"value": 4.313,
|
|
"min": 3.718,
|
|
"runs": 6,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.open_chat_ms": {
|
|
"label": "[sqlcipher] Chat öffnen (50 Nachr.)",
|
|
"unit": "ms",
|
|
"value": 0.323,
|
|
"min": 0.309,
|
|
"runs": 6,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.search_miss_ms": {
|
|
"label": "[sqlcipher] Suche ohne Treffer (Worst Case)",
|
|
"unit": "ms",
|
|
"value": 63.748,
|
|
"min": 62.8,
|
|
"runs": 4,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.search_hit_ms": {
|
|
"label": "[sqlcipher] Suche mit Treffern",
|
|
"unit": "ms",
|
|
"value": 31.676,
|
|
"min": 31.296,
|
|
"runs": 4,
|
|
"compare": true
|
|
},
|
|
"sqlcipher.size_mb": {
|
|
"label": "[sqlcipher] DB-Größe inkl. WAL",
|
|
"unit": "MB",
|
|
"value": 4.098,
|
|
"runs": 1,
|
|
"compare": false
|
|
},
|
|
"cipher_overhead.write_total_ms": {
|
|
"label": "Aufschlag Verschlüsselung: Sync-Schreiben",
|
|
"unit": "%",
|
|
"value": 4.066,
|
|
"runs": 1,
|
|
"compare": false
|
|
},
|
|
"cipher_overhead.startup_ms": {
|
|
"label": "Aufschlag Verschlüsselung: App-Start",
|
|
"unit": "%",
|
|
"value": 4.634,
|
|
"runs": 1,
|
|
"compare": false
|
|
},
|
|
"cipher_overhead.open_chat_ms": {
|
|
"label": "Aufschlag Verschlüsselung: Chat öffnen",
|
|
"unit": "%",
|
|
"value": -1.388,
|
|
"runs": 1,
|
|
"compare": false
|
|
},
|
|
"cipher_overhead.search_miss_ms": {
|
|
"label": "Aufschlag Verschlüsselung: Suche ohne Treffer",
|
|
"unit": "%",
|
|
"value": -0.233,
|
|
"runs": 1,
|
|
"compare": false
|
|
}
|
|
}
|
|
}
|