返回 CodeWhale
persistence-backlog-budget.json
根目录 / scripts / persistence-backlog-budget.json
1 {
2 "_comment": "Frozen paused-consumer workload plus one-way ceilings for the actual persistence request channel. All 128 sends must remain accepted and the final sent version must be the one production PendingState would apply; retained count and bytes may decrease. Latency and macOS RSS ceilings include measurement noise headroom and can be tightened after a bounded implementation.",
3 "document_kind": "codewhale.persistence_backlog_budget",
4 "schema_version": 2,
5 "baseline_receipt": "scripts/persistence-backlog-baseline-receipt.json",
6 "fixture": {
7 "fixture_id": "paused-production-channel-session-snapshot-v1",
8 "request_variant": "session_snapshot",
9 "payload_estimator": "retained-saved-session-json-bytes-v1",
10 "paused_consumer": true,
11 "requests_attempted": 128,
12 "content_bytes_per_request": 65536,
13 "single_session_id": true,
14 "expected_applied_version": 127
15 },
16 "baseline_observation": {
17 "accepted_requests": 128,
18 "applied_version": 127,
19 "retained_queued_requests": 128,
20 "estimated_retained_payload_bytes": 8488832,
21 "enqueue_elapsed_ns": 66045,
22 "rss_during_delta_bytes": 9961472,
23 "rss_after_delta_bytes": 13205504,
24 "provenance": {
25 "platform": "macos",
26 "source_sha": "02f2e03cb1fb22963cc5e3354a05f352b9060822",
27 "source_dirty": false,
28 "rustc_version": "rustc 1.97.0 (2d8144b78 2026-07-07)",
29 "cargo_version": "cargo 1.97.0 (c980f4866 2026-06-30)",
30 "build_profile": "test",
31 "sample_count": 1
32 }
33 },
34 "ceilings": {
35 "retained_queued_requests": 128,
36 "estimated_retained_payload_bytes": 8488832,
37 "enqueue_elapsed_ns": 25000000,
38 "rss_during_delta_bytes": 33554432,
39 "rss_after_delta_bytes": 33554432
40 }
41 }
42
42 lines JSON