diff --git a/README.md b/README.md index fece554..770d641 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,34 @@ Pinned k6: `grafana/k6:1.8.2` (`make k6-version`). First `make up` compiles Exci | [scenarios/](scenarios/) | Named profiles | | [reports/](reports/) | Checked-in reports + template | +## Recorded overhead and long-run behavior + +**Historical measurements on core/agent 0.1.0, not current-version performance claims.** +These figures show the saved November 6–8 runs and their recorded configurations. + +![Historical overhead A/B: latency and container CPU](reports/overview/overhead.svg) + +Each runtime has its own off/on pair at 20 requests/s, depth 48 and sample rate 0.1. +Worker configurations differ; this is not a cross-runtime ranking. Sources: +[FPM](reports/2026-11-06-overhead-depth48-cloud.md), +[RoadRunner](reports/2026-11-07-overhead-rr-agent-depth48-cloud.md), +[Swoole](reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md). + +![Historical six-hour container memory observations](reports/overview/soak-memory.svg) + +All saved observations from completed six-hour depth-48 soaks are shown, including startup. +Changes between **first-hour and last-hour average** app-container usage were FPM **+3.6 MiB**, +RoadRunner **+3.4 MiB**, and Swoole **+1.9 MiB**. +RoadRunner is the November 8 rerun **after reusing one profiler per worker**; the earlier +per-request-construction run (~+1 GiB / 6h) is not included or retained in these artifacts. +These are **container memory usage**, not PHP process RSS. The small increases do not establish +a process leak, prove leak freedom, or replace the separate 72-hour test. Sources: +[FPM](reports/2026-11-07-soak-fpm-agent-depth48-cloud.md), +[RoadRunner](reports/2026-11-08-soak-rr-agent-depth48-cloud.md), +[Swoole](reports/2026-11-07-soak-swoole-agent-depth48-cloud.md). + +Each report also has its own figure. See [plot reproduction and provenance](docs/report-plots.md). + ## Layout ``` diff --git a/docs/report-plots.md b/docs/report-plots.md new file mode 100644 index 0000000..c05b925 --- /dev/null +++ b/docs/report-plots.md @@ -0,0 +1,52 @@ +# Saved-report figures + +The figures visualize existing evidence. Generating them does not run benchmarks, contact the +soak server, change measurements, or make old results evidence about a newer release. + +Requires Python 3 and optional Matplotlib (3.10.8 used for the committed SVGs): + +```bash +python3 scripts/plot-reports.py +python3 scripts/plot-reports.py --check +``` + +`--check` rerenders and verifies the exact figures, source hashes, derived numbers, embedded report +links and [provenance index](../reports/plot-manifest.json). Each measured report and its nested +raw-report Markdown use the same figure. The existing function-share plot has its separate +[reproduction command](../scripts/share-accuracy/README.md). + +## Sources and semantics + +- Overhead: baseline/on k6 quantiles and unfiltered container CPU/memory CSVs. Each arm's time axis + starts at its own first sample; the arms are not simultaneous observations. No error bars or + statistical certainty are inferred from one A/B pair. Lower latency in one arm can be noise. +- Soak: every saved container CPU/memory observation, including startup. Container memory usage is + not per-process RSS, and a rising or flat curve alone does not identify or exclude a leak. The + six-hour overview shows all three runtimes, with changes between first-hour and last-hour + mean app-container usage of + +3.6 MiB (FPM), +3.4 MiB (RoadRunner), and +1.9 MiB (Swoole). The November 8 RR data is the + rerun after the stand switched to one profiler per worker (commit `8f7e372`); the earlier + ~+1 GiB / 6h run with per-request construction is not checked in or plotted. Original + historical verdicts/tables are retained; these figures do not certify them as leak tests. +- Spool/chaos/pipeline: saved file/byte counts. Claim/temp counts are a separate series, not added + to the spool count. Dashed limits are soft admission settings decoded from the saved health + response, never a hard disk bound. Some archived health files contain build output rather than + JSON; their limit is omitted instead of invented. Catch-up seconds come from the saved scalar + restart measurement, not a fitted drain curve. +- Signal weights: native/profile/spool counts and encoded/backend nanoseconds converted using + the recorded sampling period. This visualizes total event conservation, not function-share + accuracy or overhead. +- Deferred OTel research: all seven matched OTel/batched ratios at each depth/frequency, with + their paired medians. Total CPU includes final flush; work-only wall time excludes it. These + descriptive pairs are not confidence intervals or the cost of a shipped feature. +- The laptop smoke example has no raw k6 artifact. Its chart explicitly uses the approximate + quantiles printed in the Markdown; it is illustrative wiring evidence, not a cloud benchmark. + +Time-series lines connect saved observations without smoothing. Gaps greater than three times +the median positive sample interval are left blank. CPU is Docker's container percentage +(100% corresponds to one CPU), memory is shown in MiB (2^20 bytes). Historical pre-fix plots +carry historical labels and point to their original source/version context. + +The README selections are the recorded overhead A/B pairs and completed six-hour container +memory observations. They are deliberately not labelled as current overhead or "no leaks". +New measurements should replace or supplement these panels only after their evidence is reviewed. diff --git a/reports/2026-11-03-chaos-pyroscope-cloud.md b/reports/2026-11-03-chaos-pyroscope-cloud.md index 6bf5c26..6299583 100644 --- a/reports/2026-11-03-chaos-pyroscope-cloud.md +++ b/reports/2026-11-03-chaos-pyroscope-cloud.md @@ -25,3 +25,11 @@ Methodology: [METHOD.md](../METHOD.md) layer B. Raw artifacts: [2026-11-03-chaos ## Verdict Backend degradation does not take down request path: latency toxic on Pyroscope made delivery stall and spool grow, while `/work` stayed healthy. Aligns with fail-open / spool architecture. + + +## Recorded results at a glance + +![Recorded results](2026-11-03-chaos-pyroscope-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-03-chaos-pyroscope-cloud/chaos-report.md b/reports/2026-11-03-chaos-pyroscope-cloud/chaos-report.md index 420c4b8..94097da 100644 --- a/reports/2026-11-03-chaos-pyroscope-cloud/chaos-report.md +++ b/reports/2026-11-03-chaos-pyroscope-cloud/chaos-report.md @@ -9,3 +9,11 @@ | HTTP fail rate | 0 | App requests should remain healthy while delivery slows and spool grows. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-03-chaos-pyroscope-cloud/results.svg b/reports/2026-11-03-chaos-pyroscope-cloud/results.svg new file mode 100644 index 0000000..7d7e15d --- /dev/null +++ b/reports/2026-11-03-chaos-pyroscope-cloud/results.svg @@ -0,0 +1,865 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 400 + + + + + + + + + + + + + 500 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 500 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.00 + + + + + + + + + + + + + 0.05 + + + + + + + + + + + + + 0.10 + + + + + + + + + + + + + 0.15 + + + + + + + + + + + + + 0.20 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + HTTP duration (ms) + + + + + + + + + + 40.24 + + + 44.06 + + + 46.94 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Achieved: 19.689 requests/s + HTTP failures: 0% + Peak saved file count: 500 + Last saved file count: 500 + + Injected latency: 3000 ms + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Chaos · FPM · 2026-11-03 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-03-overhead-cloud.md b/reports/2026-11-03-overhead-cloud.md index ac9958c..bacf5da 100644 --- a/reports/2026-11-03-overhead-cloud.md +++ b/reports/2026-11-03-overhead-cloud.md @@ -55,3 +55,11 @@ Stats samples: 39 per arm (`docker stats` on `app-fpm`). - Proved: measurable but modest overhead for SpoolSink path vs off at fixed RPS on commodity cloud VPS. - Did **not** measure: real app (DB/HTTP), 1k–5k RPS ceiling, soak/72h growth, spool backpressure, chaos, isolated k6 host. + + +## Recorded results at a glance + +![Recorded results](2026-11-03-overhead-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-03-overhead-cloud/overhead-report.md b/reports/2026-11-03-overhead-cloud/overhead-report.md index 2eaeea1..17b4152 100644 --- a/reports/2026-11-03-overhead-cloud/overhead-report.md +++ b/reports/2026-11-03-overhead-cloud/overhead-report.md @@ -46,3 +46,10 @@ Stats samples: baseline=39, on=39 (docker stats on `app-fpm`). - Did **not** measure: real app (DB/HTTP), soak/72h RSS growth, spool backpressure, chaos, multi-host isolation. - Absolute % is host-specific; compare delta columns, not marketing SLOs. + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-03-overhead-cloud/results.svg b/reports/2026-11-03-overhead-cloud/results.svg new file mode 100644 index 0000000..8dfd20d --- /dev/null +++ b/reports/2026-11-03-overhead-cloud/results.svg @@ -0,0 +1,1164 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 37.64 + + + 38.85 + + + 40.76 + + + 38.19 + + + 40.25 + + + 42.17 + + + Recorded k6 latency quantiles + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU — separate A/B windows + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage — not process RSS + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + + + + + On + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + Requests / second + + + + + + + + + + 19.844 + + + 19.841 + + + HTTP failures: 0% / 0% + + + Achieved request rate + + + + Historical Overhead · FPM · 2026-11-03 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + + + + diff --git a/reports/2026-11-03-smoke-sample.md b/reports/2026-11-03-smoke-sample.md index 675b46d..2d957a6 100644 --- a/reports/2026-11-03-smoke-sample.md +++ b/reports/2026-11-03-smoke-sample.md @@ -55,3 +55,11 @@ Grafana: http://127.0.0.1:3000 → Explore / Drilldown → Profiles → service - Proved: clone-style stand path works; k6 thresholds hold; profiles reach Pyroscope via SpoolSink + `tracewick-drain`. - Did **not** measure: baseline vs on overhead, soak / 72h RSS, chaos, multi-host isolation. - Host was a developer laptop sharing CPU with the IDE — treat numbers as a wiring sample, not a capacity claim. + + +## Recorded results at a glance + +![Recorded results](2026-11-03-smoke-sample/results.svg) + +Illustrative rounded laptop sample, not a capacity result; no raw k6 artifact retained. + diff --git a/reports/2026-11-03-smoke-sample/results.svg b/reports/2026-11-03-smoke-sample/results.svg new file mode 100644 index 0000000..7d533b8 --- /dev/null +++ b/reports/2026-11-03-smoke-sample/results.svg @@ -0,0 +1,286 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + p50 + + + + + + + + + + p95 + + + + + + + + + + max + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 70 + + + + + + + + + + + + + 80 + + + + HTTP duration (ms) + + + + + + + + + + ≈39.2 + + + ≈41.9 + + + ≈74.7 + + + Rounded values from Markdown sample + + + + + Illustrative laptop wiring run + + No raw k6 artifact is retained. + No A/B comparison. + No cloud capacity claim. + + Values retain their approximate precision. + + + + Smoke · saved evidence · 2026-11-03 + + + Illustrative rounded laptop sample, not a capacity result; no raw k6 artifact retained. + + + + + + + + diff --git a/reports/2026-11-03-soak-cloud.md b/reports/2026-11-03-soak-cloud.md index 47f9254..cd26f7f 100644 --- a/reports/2026-11-03-soak-cloud.md +++ b/reports/2026-11-03-soak-cloud.md @@ -66,3 +66,11 @@ It does **not** cover RoadRunner, `ContinuousProfiler`, or go-agent. - Proved: no material RSS climb on FPM workers or drain under moderate fixed RPS for ~72h in this FPM + UnitOfWorkProfiler setup (HTTP fail 0%, RPS held). - Did **not** measure: ContinuousProfiler / RR / go-agent soaks, overhead A/B (see separate report), spool chaos, 1k+ RPS ceiling, multi-host isolation. + + +## Recorded results at a glance + +![Recorded results](2026-11-03-soak-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-03-soak-cloud/results.svg b/reports/2026-11-03-soak-cloud/results.svg new file mode 100644 index 0000000..746f439 --- /dev/null +++ b/reports/2026-11-03-soak-cloud/results.svg @@ -0,0 +1,10634 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 70 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage (all saved observations) + + + + + + + + + + app-drain + + + + + + app-fpm + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 70 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU (no smoothing) + + + + + + + + + + app-drain + + + + + + app-fpm + + + + + Historical Soak · FPM · 2026-11-03 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + diff --git a/reports/2026-11-03-soak-cloud/soak-report.md b/reports/2026-11-03-soak-cloud/soak-report.md index 6e02277..f2688b9 100644 --- a/reports/2026-11-03-soak-cloud/soak-report.md +++ b/reports/2026-11-03-soak-cloud/soak-report.md @@ -45,3 +45,11 @@ Raw artifacts: `soak-20261103T105644Z/`. - Proved (if verdicts stable): no large RSS climb on FPM/drain under moderate fixed RPS for the soak window. - Did **not** measure: overhead A/B deltas, spool chaos, 1k+ RPS ceiling, multi-host isolation. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-03-spool-pressure-cloud.md b/reports/2026-11-03-spool-pressure-cloud.md index 00b9ebe..b916fb9 100644 --- a/reports/2026-11-03-spool-pressure-cloud.md +++ b/reports/2026-11-03-spool-pressure-cloud.md @@ -26,3 +26,11 @@ Methodology: [METHOD.md](../METHOD.md) layer B. Raw artifacts: [2026-11-03-spool ## Verdict Fail-open holds: app stayed green while spool filled to the configured ceiling (further profiles dropped at admission). After drain restart, queue cleared in ~41s. Matches M3 intent. + + +## Recorded results at a glance + +![Recorded results](2026-11-03-spool-pressure-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-03-spool-pressure-cloud/results.svg b/reports/2026-11-03-spool-pressure-cloud/results.svg new file mode 100644 index 0000000..8189c13 --- /dev/null +++ b/reports/2026-11-03-spool-pressure-cloud/results.svg @@ -0,0 +1,965 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + + + + + + + + + + 140 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 80 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + + + + + + + + + + 140 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.00 + + + + + + + + + + + + + 0.01 + + + + + + + + + + + + + 0.02 + + + + + + + + + + + + + 0.03 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + HTTP duration (ms) + + + + + + + + + + 39.57 + + + 42.51 + + + 45.62 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Achieved: 19.792 requests/s + HTTP failures: 0% + Peak saved file count: 80 + Last saved file count: 0 + + Catch-up after reader restart: 41 s + (separately recorded scalar; not a fitted curve) + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Spool Pressure · FPM · 2026-11-03 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-03-spool-pressure-cloud/spool-pressure-report.md b/reports/2026-11-03-spool-pressure-cloud/spool-pressure-report.md index 9aa0e5a..feb1a68 100644 --- a/reports/2026-11-03-spool-pressure-cloud/spool-pressure-report.md +++ b/reports/2026-11-03-spool-pressure-cloud/spool-pressure-report.md @@ -30,3 +30,11 @@ Methodology: [METHOD.md](../../METHOD.md) layer B. ## Artifacts - `k6.json`, `spool-timeseries.csv`, health + spool snapshots in this directory. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud.md b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud.md index da924c7..5632706 100644 --- a/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud.md +++ b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud.md @@ -29,3 +29,11 @@ Same toxic as [drain depth-48](./2026-11-06-chaos-pyroscope-depth48-cloud.md); r ## Verdict App stayed green. Under the same 3s toxic, agent backlog stayed far below soft `max_files` while PHP drain filled to 500. (Auth/404 **pause** behaviour of the agent was not exercised here — latency toxic only.) + + +## Recorded results at a glance + +![Recorded results](2026-11-06-chaos-pyroscope-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/chaos-report.md b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/chaos-report.md index 5b448ec..541b1b0 100644 --- a/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/chaos-report.md +++ b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/chaos-report.md @@ -14,3 +14,11 @@ | HTTP fail rate | 0 | App requests should remain healthy while delivery slows and spool grows. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/results.svg b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..1098571 --- /dev/null +++ b/reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/results.svg @@ -0,0 +1,875 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 400 + + + + + + + + + + + + + 500 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 500 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 0.1 + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + 0.3 + + + + + + + + + + + + + 0.4 + + + + + + + + + + + + + 0.5 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 37.88 + + + 38.60 + + + 38.93 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 20 requests/s + Achieved: 19.691 requests/s + HTTP failures: 0% + Peak saved file count: 172 + Last saved file count: 5 + + Injected latency: 3000 ms + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Chaos · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-chaos-pyroscope-depth48-cloud.md b/reports/2026-11-06-chaos-pyroscope-depth48-cloud.md index 1923e1a..8a79d84 100644 --- a/reports/2026-11-06-chaos-pyroscope-depth48-cloud.md +++ b/reports/2026-11-06-chaos-pyroscope-depth48-cloud.md @@ -31,3 +31,11 @@ Raw artifacts: [2026-11-06-chaos-pyroscope-depth48-cloud/](./2026-11-06-chaos-py ## Verdict Backend degradation still does not take down the request path: latency toxic stalled delivery and filled the soft file ceiling while `/work` stayed healthy. Depth-48 multiplies bytes (~4.8× vs shallow) without changing the fail-open story. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-chaos-pyroscope-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-chaos-pyroscope-depth48-cloud/chaos-report.md b/reports/2026-11-06-chaos-pyroscope-depth48-cloud/chaos-report.md index f85d7b8..ce57a01 100644 --- a/reports/2026-11-06-chaos-pyroscope-depth48-cloud/chaos-report.md +++ b/reports/2026-11-06-chaos-pyroscope-depth48-cloud/chaos-report.md @@ -13,3 +13,11 @@ | HTTP fail rate | 0 | App requests should remain healthy while delivery slows and spool grows. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-chaos-pyroscope-depth48-cloud/results.svg b/reports/2026-11-06-chaos-pyroscope-depth48-cloud/results.svg new file mode 100644 index 0000000..f156c87 --- /dev/null +++ b/reports/2026-11-06-chaos-pyroscope-depth48-cloud/results.svg @@ -0,0 +1,875 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 400 + + + + + + + + + + + + + 500 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 500 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + 0.4 + + + + + + + + + + + + + 0.6 + + + + + + + + + + + + + 0.8 + + + + + + + + + + + + + 1.0 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 37.73 + + + 38.38 + + + 38.86 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 20 requests/s + Achieved: 19.687 requests/s + HTTP failures: 0% + Peak saved file count: 500 + Last saved file count: 500 + + Injected latency: 3000 ms + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Chaos · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-overhead-depth48-cloud.md b/reports/2026-11-06-overhead-depth48-cloud.md index fbc8b7a..8ab4d07 100644 --- a/reports/2026-11-06-overhead-depth48-cloud.md +++ b/reports/2026-11-06-overhead-depth48-cloud.md @@ -56,3 +56,11 @@ Stats samples: 40 per arm (`docker stats` on `app-fpm`). - Proved: modest relative overhead remains with deeper stacks / larger profiles on this stand. - Did **not** measure: real app, soak growth under depth-48, isolated generator host. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-overhead-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-06-overhead-depth48-cloud/overhead-report.md b/reports/2026-11-06-overhead-depth48-cloud/overhead-report.md index f066b9c..e77fa7b 100644 --- a/reports/2026-11-06-overhead-depth48-cloud/overhead-report.md +++ b/reports/2026-11-06-overhead-depth48-cloud/overhead-report.md @@ -48,3 +48,10 @@ Stats samples: baseline=40, on=40 (docker stats on `app-fpm`). - Did **not** measure: real app (DB/HTTP), soak/72h RSS growth, spool backpressure, chaos, multi-host isolation. - Absolute % is host-specific; compare delta columns, not marketing SLOs. + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-06-overhead-depth48-cloud/results.svg b/reports/2026-11-06-overhead-depth48-cloud/results.svg new file mode 100644 index 0000000..28b7e18 --- /dev/null +++ b/reports/2026-11-06-overhead-depth48-cloud/results.svg @@ -0,0 +1,1183 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 36.16 + + + 36.42 + + + 36.57 + + + 36.64 + + + 37.80 + + + 38.23 + + + Recorded k6 latency quantiles + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU — separate A/B windows + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 2.5 + + + + + + + + + + + + + 5.0 + + + + + + + + + + + + + 7.5 + + + + + + + + + + + + + 10.0 + + + + + + + + + + + + + 12.5 + + + + + + + + + + + + + 15.0 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage — not process RSS + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + + + + + On + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + Requests / second + + + + + + + + + + 19.844 + + + 19.842 + + + HTTP failures: 0% / 0% + + + Achieved request rate + + + + Historical Overhead · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-rps-pipeline-agent-depth48-cloud.md b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud.md index f215773..ec3c4fb 100644 --- a/reports/2026-11-06-rps-pipeline-agent-depth48-cloud.md +++ b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud.md @@ -38,3 +38,11 @@ Same hold as [drain ~700](./2026-11-06-rps-pipeline-cloud.md); reader = **go-age ## Verdict HTTP path identical. Agent keeps spool **well below** soft `max_files=500` at the same ~700 RPS where PHP drain sat at soft admission (~600 files). Matches the expectation that go-agent raises pipeline headroom. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-rps-pipeline-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/results.svg b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..e1020c4 --- /dev/null +++ b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/results.svg @@ -0,0 +1,1143 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 400 + + + + + + + + + + + + + 500 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 500 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 0.1 + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + 0.3 + + + + + + + + + + + + + 0.4 + + + + + + + + + + + + + 0.5 + + + + + + + + + + + + + 0.6 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + HTTP duration (ms) + + + + + + + + + + 41.38 + + + 51.04 + + + 58.59 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 700 requests/s + Achieved: 697.583 requests/s + HTTP failures: 0% + Peak saved file count: 222 + Last saved file count: 109 + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Rps Pipeline · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/rps-pipeline-report.md b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/rps-pipeline-report.md index f5570c9..a175cc6 100644 --- a/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/rps-pipeline-report.md +++ b/reports/2026-11-06-rps-pipeline-agent-depth48-cloud/rps-pipeline-report.md @@ -54,3 +54,11 @@ Raw artifacts: `rps-pipeline-20261106T235239Z/`. - Pipeline under this arrival rate: HTTP fail-open, spool files/bytes trajectory, drain on/off as configured. - Did **not** claim a universal 3k RPS SLO; ceiling depends on host and stack depth. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-rps-pipeline-cloud.md b/reports/2026-11-06-rps-pipeline-cloud.md index c7fe205..7e8dc4a 100644 --- a/reports/2026-11-06-rps-pipeline-cloud.md +++ b/reports/2026-11-06-rps-pipeline-cloud.md @@ -77,3 +77,11 @@ It does **not** cover RoadRunner, `ContinuousProfiler`, or go-agent. PHP drain i - Proved: depth-48 `/work` pipeline holds ~700 RPS with HTTP fail 0% and p99 ~58 ms; spool sits at soft-admission steady state (~600 files / ~1.1 MiB) with PHP drain on. - Did **not** measure: drain=off admission stress golden, ContinuousProfiler / RR / go-agent throughput, multi-host isolation, K8s. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-rps-pipeline-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-rps-pipeline-cloud/results.svg b/reports/2026-11-06-rps-pipeline-cloud/results.svg new file mode 100644 index 0000000..97f07b4 --- /dev/null +++ b/reports/2026-11-06-rps-pipeline-cloud/results.svg @@ -0,0 +1,1143 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 400 + + + + + + + + + + + + + 500 + + + + + + + + + + + + + 600 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 500 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + 0.4 + + + + + + + + + + + + + 0.6 + + + + + + + + + + + + + 0.8 + + + + + + + + + + + + + 1.0 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + HTTP duration (ms) + + + + + + + + + + 41.28 + + + 50.99 + + + 58.09 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 700 requests/s + Achieved: 697.573 requests/s + HTTP failures: 0% + Peak saved file count: 602 + Last saved file count: 600 + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Rps Pipeline · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-rps-pipeline-cloud/rps-pipeline-report.md b/reports/2026-11-06-rps-pipeline-cloud/rps-pipeline-report.md index 1b463a3..1ad7475 100644 --- a/reports/2026-11-06-rps-pipeline-cloud/rps-pipeline-report.md +++ b/reports/2026-11-06-rps-pipeline-cloud/rps-pipeline-report.md @@ -58,3 +58,11 @@ Steady ~600 files with drain on = soft admission + saturated PHP drain (fail-ope - Pipeline under this arrival rate: HTTP fail-open, spool files/bytes trajectory, drain on as configured. - Did **not** claim a universal 3k RPS SLO; ceiling depends on host and stack depth (~700 clean hold on this 8-vCPU stand; overload probes ~760 with multi-second latency). + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-06-spool-pressure-agent-depth48-cloud.md b/reports/2026-11-06-spool-pressure-agent-depth48-cloud.md index 85f8efa..3918a6a 100644 --- a/reports/2026-11-06-spool-pressure-agent-depth48-cloud.md +++ b/reports/2026-11-06-spool-pressure-agent-depth48-cloud.md @@ -31,3 +31,11 @@ Same fill as [drain depth-48](./2026-11-06-spool-pressure-depth48-cloud.md); cat ## Verdict Fail-open unchanged. Agent clears the same 80-file soft ceiling ~**20×** faster than PHP drain on this stand. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-spool-pressure-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-06-spool-pressure-agent-depth48-cloud/results.svg b/reports/2026-11-06-spool-pressure-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..363eb7f --- /dev/null +++ b/reports/2026-11-06-spool-pressure-agent-depth48-cloud/results.svg @@ -0,0 +1,867 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 80 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.000 + + + + + + + + + + + + + 0.025 + + + + + + + + + + + + + 0.050 + + + + + + + + + + + + + 0.075 + + + + + + + + + + + + + 0.100 + + + + + + + + + + + + + 0.125 + + + + + + + + + + + + + 0.150 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 37.80 + + + 38.49 + + + 38.74 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 20 requests/s + Achieved: 19.790 requests/s + HTTP failures: 0% + Peak saved file count: 80 + Last saved file count: 0 + + Catch-up after reader restart: 2 s + (separately recorded scalar; not a fitted curve) + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Spool Pressure · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-spool-pressure-agent-depth48-cloud/spool-pressure-report.md b/reports/2026-11-06-spool-pressure-agent-depth48-cloud/spool-pressure-report.md index ce1d430..8bf15ac 100644 --- a/reports/2026-11-06-spool-pressure-agent-depth48-cloud/spool-pressure-report.md +++ b/reports/2026-11-06-spool-pressure-agent-depth48-cloud/spool-pressure-report.md @@ -37,3 +37,11 @@ reader=agent | ## Artifacts - `k6.json`, `spool-timeseries.csv`, health + spool snapshots in this directory. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-06-spool-pressure-depth48-cloud.md b/reports/2026-11-06-spool-pressure-depth48-cloud.md index 52ae008..39f6692 100644 --- a/reports/2026-11-06-spool-pressure-depth48-cloud.md +++ b/reports/2026-11-06-spool-pressure-depth48-cloud.md @@ -32,3 +32,11 @@ Raw artifacts: [2026-11-06-spool-pressure-depth48-cloud/](./2026-11-06-spool-pre ## Verdict Fail-open holds with realistic stack depth: app stayed green while spool filled to the configured file ceiling (further profiles dropped at admission). Bytes per file grew ~4.7× vs shallow; catch-up lag stayed ~40 s on this stand (vs ~41 s shallow). Matches M3 intent under deeper profiles. + + +## Recorded results at a glance + +![Recorded results](2026-11-06-spool-pressure-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-06-spool-pressure-depth48-cloud/results.svg b/reports/2026-11-06-spool-pressure-depth48-cloud/results.svg new file mode 100644 index 0000000..85b06b0 --- /dev/null +++ b/reports/2026-11-06-spool-pressure-depth48-cloud/results.svg @@ -0,0 +1,984 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Files / entries + + + + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + Soft admission setting: 80 + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.000 + + + + + + + + + + + + + 0.025 + + + + + + + + + + + + + 0.050 + + + + + + + + + + + + + 0.075 + + + + + + + + + + + + + 0.100 + + + + + + + + + + + + + 0.125 + + + + + + + + + + + + + 0.150 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 37.30 + + + 37.83 + + + 38.21 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 20 requests/s + Achieved: 19.793 requests/s + HTTP failures: 0% + Peak saved file count: 80 + Last saved file count: 0 + + Catch-up after reader restart: 40 s + (separately recorded scalar; not a fitted curve) + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Spool Pressure · FPM · 2026-11-06 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-06-spool-pressure-depth48-cloud/spool-pressure-report.md b/reports/2026-11-06-spool-pressure-depth48-cloud/spool-pressure-report.md index 097b0cf..a26cb8d 100644 --- a/reports/2026-11-06-spool-pressure-depth48-cloud/spool-pressure-report.md +++ b/reports/2026-11-06-spool-pressure-depth48-cloud/spool-pressure-report.md @@ -35,3 +35,11 @@ Methodology: [METHOD.md](../../METHOD.md) layer B. ## Artifacts - `k6.json`, `spool-timeseries.csv`, health + spool snapshots in this directory. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added. + diff --git a/reports/2026-11-07-overhead-rr-agent-depth48-cloud.md b/reports/2026-11-07-overhead-rr-agent-depth48-cloud.md index 096b246..da83a8e 100644 --- a/reports/2026-11-07-overhead-rr-agent-depth48-cloud.md +++ b/reports/2026-11-07-overhead-rr-agent-depth48-cloud.md @@ -19,3 +19,11 @@ Vs FPM×agent depth-48 (~+0.5–1.7 ms): RR overhead is **similar or smaller** o ## Pins `RUNTIME=rr`, `READER=agent`, `WORK_STACK_DEPTH=48`, `RR_NUM_WORKERS=4`, 20 RPS / 2m each arm, Packagist `0.1.0`, 8 vCPU Timeweb. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-overhead-rr-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-overhead-rr-agent-depth48-cloud/overhead-report.md b/reports/2026-11-07-overhead-rr-agent-depth48-cloud/overhead-report.md index dae71da..f5234d1 100644 --- a/reports/2026-11-07-overhead-rr-agent-depth48-cloud/overhead-report.md +++ b/reports/2026-11-07-overhead-rr-agent-depth48-cloud/overhead-report.md @@ -50,3 +50,10 @@ Stats samples: baseline=40, on=40 (docker stats on `app-rr`). - Did **not** measure: real app (DB/HTTP), soak/72h RSS growth, spool backpressure, chaos, multi-host isolation. - Absolute % is host-specific; compare delta columns, not marketing SLOs. + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-overhead-rr-agent-depth48-cloud/results.svg b/reports/2026-11-07-overhead-rr-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..23590d9 --- /dev/null +++ b/reports/2026-11-07-overhead-rr-agent-depth48-cloud/results.svg @@ -0,0 +1,1138 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 36.60 + + + 36.87 + + + 37.10 + + + 36.76 + + + 37.09 + + + 37.39 + + + Recorded k6 latency quantiles + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU — separate A/B windows + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage — not process RSS + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + + + + + On + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + Requests / second + + + + + + + + + + 19.842 + + + 19.842 + + + HTTP failures: 0% / 0% + + + Achieved request rate + + + + Historical Overhead · RoadRunner · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + + + + diff --git a/reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md index 12f3efc..baa71b3 100644 --- a/reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md +++ b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md @@ -19,3 +19,11 @@ At 20 RPS the ContinuousProfiler path is noise-level vs off on this stand (same ## Pins `RUNTIME=swoole`, `READER=agent`, `WORK_STACK_DEPTH=48`, `SWOOLE_WORKER_NUM=4`, 20 RPS / 2m each arm, Packagist `0.1.0`, 8 vCPU Timeweb. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-overhead-swoole-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/overhead-report.md b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/overhead-report.md index 24401f4..cb821c1 100644 --- a/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/overhead-report.md +++ b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/overhead-report.md @@ -51,3 +51,10 @@ Stats samples: baseline=40, on=40 (docker stats on `app-swoole`). - Did **not** measure: real app (DB/HTTP), soak/72h RSS growth, spool backpressure, chaos, multi-host isolation. - Absolute % is host-specific; compare delta columns, not marketing SLOs. + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/results.svg b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..a72dcf1 --- /dev/null +++ b/reports/2026-11-07-overhead-swoole-agent-depth48-cloud/results.svg @@ -0,0 +1,1123 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + HTTP duration (ms) + + + + + + + + + + 35.62 + + + 35.77 + + + 35.84 + + + 35.56 + + + 35.74 + + + 35.87 + + + Recorded k6 latency quantiles + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU — separate A/B windows + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage — not process RSS + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + + + + + On + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + Requests / second + + + + + + + + + + 19.845 + + + 19.845 + + + HTTP failures: 0% / 0% + + + Achieved request rate + + + + Historical Overhead · Swoole · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + + + + diff --git a/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud.md b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud.md index 5248631..a983788 100644 --- a/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud.md +++ b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud.md @@ -20,3 +20,11 @@ RR holds the same ~700 target with agent (spool below soft `max_files`). Latency ## Pins `RUNTIME=rr`, `READER=agent`, `RR_NUM_WORKERS=32`, `WORK_STACK_DEPTH=48`, 700 RPS / 5m, repo `8d658ff`. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-rps-pipeline-rr-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/results.svg b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..ee6f096 --- /dev/null +++ b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/results.svg @@ -0,0 +1,980 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + + + + + + + + + + 140 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + Files / entries + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + + + + + + + + + + 140 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.0 + + + + + + + + + + + + + 0.1 + + + + + + + + + + + + + 0.2 + + + + + + + + + + + + + 0.3 + + + + + + + + + + + + + 0.4 + + + + + + + + + + + + + 0.5 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + HTTP duration (ms) + + + + + + + + + + 45.21 + + + 59.98 + + + 75.90 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 700 requests/s + Achieved: 697.553 requests/s + HTTP failures: 0% + Peak saved file count: 230 + Last saved file count: 124 + Soft limit: not decoded from archived health capture + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Rps Pipeline · RoadRunner · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/rps-pipeline-report.md b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/rps-pipeline-report.md index 7f25afd..763b9aa 100644 --- a/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/rps-pipeline-report.md +++ b/reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/rps-pipeline-report.md @@ -55,3 +55,11 @@ Raw artifacts: `2026-11-07-rps-pipeline-rr-agent-depth48-cloud/`. - Pipeline under this arrival rate: HTTP fail-open, spool files/bytes trajectory, drain on/off as configured. - Did **not** claim a universal 3k RPS SLO; ceiling depends on host and stack depth. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud.md b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud.md index 820f6c5..81d5ec4 100644 --- a/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud.md +++ b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud.md @@ -20,3 +20,11 @@ Swoole holds ~700 with agent. ContinuousProfiler aggregates into fewer spool fil ## Pins `RUNTIME=swoole`, `READER=agent`, `SWOOLE_WORKER_NUM=32`, `WORK_STACK_DEPTH=48`, 700 RPS / 5m, repo `c81d1d9`. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/results.svg b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..5f24e41 --- /dev/null +++ b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/results.svg @@ -0,0 +1,1175 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + + + + + + + + + + 30 + + + + Files / entries + + + + + + + + + + + + + + + + Recorded queue counts + + + + + + + + + + Saved spool-file count + + + + + + Claim/temp entries (separate column) + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + Seconds since first observation + + + + + + + + + + + + + + 0.00 + + + + + + + + + + + + + 0.05 + + + + + + + + + + + + + 0.10 + + + + + + + + + + + + + 0.15 + + + + + + + + + + + + + 0.20 + + + + + + + + + + + + + 0.25 + + + + MiB + + + + + + + + + + + + + Recorded spool size + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + HTTP duration (ms) + + + + + + + + + + 42.11 + + + 73.22 + + + 97.14 + + + Recorded k6 latency quantiles + + + + + + + + + + Run + + + + + + Requested: 700 requests/s + Achieved: 697.498 requests/s + HTTP failures: 0% + Peak saved file count: 32 + Last saved file count: 0 + Soft limit: not decoded from archived health capture + + Lines connect saved samples only. + Gaps >3x typical interval are left blank. + + + + Historical Rps Pipeline · Swoole · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + + + + diff --git a/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/rps-pipeline-report.md b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/rps-pipeline-report.md index 79cd259..4725372 100644 --- a/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/rps-pipeline-report.md +++ b/reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/rps-pipeline-report.md @@ -55,3 +55,11 @@ Raw artifacts: `rps-pipeline-20261107T005129Z/`. - Pipeline under this arrival rate: HTTP fail-open, spool files/bytes trajectory, drain on/off as configured. - Did **not** claim a universal 3k RPS SLO; ceiling depends on host and stack depth. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. + diff --git a/reports/2026-11-07-soak-fpm-agent-depth48-cloud.md b/reports/2026-11-07-soak-fpm-agent-depth48-cloud.md index b86805f..3c8b5a0 100644 --- a/reports/2026-11-07-soak-fpm-agent-depth48-cloud.md +++ b/reports/2026-11-07-soak-fpm-agent-depth48-cloud.md @@ -16,3 +16,11 @@ k6: ~10 RPS, **0%** fail. Absolute growth small; agent % looks large only becaus ## Pins `RUNTIME=fpm`, `READER=agent`, `WORK_STACK_DEPTH=48`, `PHP_FPM_MAX_CHILDREN=8`, 10 RPS / 6h, sampleRate 0.1, 8 vCPU Timeweb. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-soak-fpm-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-soak-fpm-agent-depth48-cloud/results.svg b/reports/2026-11-07-soak-fpm-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..0d1180e --- /dev/null +++ b/reports/2026-11-07-soak-fpm-agent-depth48-cloud/results.svg @@ -0,0 +1,1945 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage (all saved observations) + + + + + + + + + + app-agent + + + + + + app-fpm + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + + + + + + + + + + 30 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU (no smoothing) + + + + + + + + + + app-agent + + + + + + app-fpm + + + + + Historical Soak · FPM · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + diff --git a/reports/2026-11-07-soak-fpm-agent-depth48-cloud/soak-report.md b/reports/2026-11-07-soak-fpm-agent-depth48-cloud/soak-report.md index 022e2c4..6663e52 100644 --- a/reports/2026-11-07-soak-fpm-agent-depth48-cloud/soak-report.md +++ b/reports/2026-11-07-soak-fpm-agent-depth48-cloud/soak-report.md @@ -49,3 +49,11 @@ Raw artifacts: `soak-20261107T020523Z/`. - Proved (if verdicts stable): no large RSS climb on `app-fpm` / `app-agent` (PHP-FPM + `UnitOfWorkProfiler`, reader=`agent`) under moderate fixed RPS for the soak window. - Did **not** measure: overhead A/B deltas, spool chaos, 1k+ RPS ceiling, multi-host isolation. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-soak-swoole-agent-depth48-cloud.md b/reports/2026-11-07-soak-swoole-agent-depth48-cloud.md index d4dcd71..935746f 100644 --- a/reports/2026-11-07-soak-swoole-agent-depth48-cloud.md +++ b/reports/2026-11-07-soak-swoole-agent-depth48-cloud.md @@ -16,3 +16,11 @@ k6: ~10 RPS, **0%** fail. ContinuousProfiler + agent look clean on this 6h windo ## Pins `RUNTIME=swoole`, `READER=agent`, `WORK_STACK_DEPTH=48`, `SWOOLE_WORKER_NUM=8`, 10 RPS / 6h, sampleRate 0.1. + + +## Recorded results at a glance + +![Recorded results](2026-11-07-soak-swoole-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-07-soak-swoole-agent-depth48-cloud/results.svg b/reports/2026-11-07-soak-swoole-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..18c686b --- /dev/null +++ b/reports/2026-11-07-soak-swoole-agent-depth48-cloud/results.svg @@ -0,0 +1,1924 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage (all saved observations) + + + + + + + + + + app-agent + + + + + + app-swoole + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU (no smoothing) + + + + + + + + + + app-agent + + + + + + app-swoole + + + + + Historical Soak · Swoole · 2026-11-07 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + diff --git a/reports/2026-11-07-soak-swoole-agent-depth48-cloud/soak-report.md b/reports/2026-11-07-soak-swoole-agent-depth48-cloud/soak-report.md index db039d0..faad962 100644 --- a/reports/2026-11-07-soak-swoole-agent-depth48-cloud/soak-report.md +++ b/reports/2026-11-07-soak-swoole-agent-depth48-cloud/soak-report.md @@ -49,3 +49,11 @@ Raw artifacts: `soak-20261107T140855Z/`. - Proved (if verdicts stable): no large RSS climb on `app-swoole` / `app-agent` (Swoole + `ContinuousProfiler`, reader=`agent`) under moderate fixed RPS for the soak window. - Did **not** measure: overhead A/B deltas, spool chaos, 1k+ RPS ceiling, multi-host isolation. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-08-soak-rr-agent-depth48-cloud.md b/reports/2026-11-08-soak-rr-agent-depth48-cloud.md index 391633c..3e60a2c 100644 --- a/reports/2026-11-08-soak-rr-agent-depth48-cloud.md +++ b/reports/2026-11-08-soak-rr-agent-depth48-cloud.md @@ -18,3 +18,11 @@ k6: ~10 RPS, **0%** fail. Matches FPM/Swoole agent soaks on this host. ## Pins `RUNTIME=rr`, `READER=agent`, `WORK_STACK_DEPTH=48`, `RR_NUM_WORKERS=8`, 10 RPS / 6h, sampleRate 0.1, repo `8f7e372`. + + +## Recorded results at a glance + +![Recorded results](2026-11-08-soak-rr-agent-depth48-cloud/results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-08-soak-rr-agent-depth48-cloud/results.svg b/reports/2026-11-08-soak-rr-agent-depth48-cloud/results.svg new file mode 100644 index 0000000..d58e6e9 --- /dev/null +++ b/reports/2026-11-08-soak-rr-agent-depth48-cloud/results.svg @@ -0,0 +1,1906 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + MiB + + + + + + + + + + + + + + + + Container memory usage (all saved observations) + + + + + + + + + + app-agent + + + + + + app-rr + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 35 + + + + CPU % (100% = one core) + + + + + + + + + + + + + + + + Container CPU (no smoothing) + + + + + + + + + + app-agent + + + + + + app-rr + + + + + Historical Soak · RoadRunner · 2026-11-08 + + + Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins. + + + + + + + + + + + diff --git a/reports/2026-11-08-soak-rr-agent-depth48-cloud/soak-report.md b/reports/2026-11-08-soak-rr-agent-depth48-cloud/soak-report.md index c8fba40..55f3cc1 100644 --- a/reports/2026-11-08-soak-rr-agent-depth48-cloud/soak-report.md +++ b/reports/2026-11-08-soak-rr-agent-depth48-cloud/soak-report.md @@ -49,3 +49,11 @@ Raw artifacts: `soak-20261108T092931Z/`. - Proved (if verdicts stable): no large RSS climb on `app-rr` / `app-agent` (RoadRunner + `UnitOfWorkProfiler`, reader=`agent`) under moderate fixed RPS for the soak window. - Did **not** measure: overhead A/B deltas, spool chaos, 1k+ RPS ceiling, multi-host isolation. + + +## Recorded results at a glance + +![Recorded results](results.svg) + +Historical saved measurements on the versions/configuration in this report; no current-version performance claim. Lines connect recorded samples; gaps over three typical intervals are not connected. Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom. + diff --git a/reports/2026-11-17-otel-callback-preflight.md b/reports/2026-11-17-otel-callback-preflight.md index ba7ca58..0907cf5 100644 --- a/reports/2026-11-17-otel-callback-preflight.md +++ b/reports/2026-11-17-otel-callback-preflight.md @@ -77,6 +77,14 @@ The immediate/no-read mode shows that callback frequency and eager aggregation a - No production-wide overhead percentage, HTTP p99 claim, default-enable recommendation or extrapolation from CPU-only work to I/O-heavy applications. - The running 72-hour soak uses its original pinned versions. These experiments neither alter it nor validate future correlation-enabled stability. -## Next decision +## Disposition — 2026-11-18 -Review the sequential, opt-in design with its actual hot-path cost visible. Keep the cold-bootstrap fix independent. A production implementation needs maintained context/lifecycle regressions, explicit unsupported-context behavior, bounded correlation-aware stacks, shared wire fixtures and new measurements on its final code. No release gate is closed merely by accepting the proposal. +OTel trace correlation is deferred indefinitely, outside RC, with no commitment to implement it later. The proposed ADR in [core PR #81](https://github.com/tracewick/tracewick/pull/81) was closed without merging, and [issue #80](https://github.com/tracewick/tracewick/issues/80) was closed as not planned. This report and its isolated experiment remain historical research. The independent cold-bootstrap fix remains relevant; accepting this evidence does not accept a correlation design or close an RC gate. + + +## Recorded results at a glance + +![Recorded results](2026-11-17-otel-callback-preflight/results.svg) + +Deferred research, not product overhead or an RC commitment. Dots show all pairs; diamonds show paired medians. Comparisons use matching rounds; the median paired ratio is not the ratio of marginal medians. + diff --git a/reports/2026-11-17-otel-callback-preflight/results.svg b/reports/2026-11-17-otel-callback-preflight/results.svg new file mode 100644 index 0000000..7136ffc --- /dev/null +++ b/reports/2026-11-17-otel-callback-preflight/results.svg @@ -0,0 +1,606 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depth 48 + 100 Hz + + + + + + + + + + depth 48 + 1000 Hz + + + + + + + + + + depth 256 + 100 Hz + + + + + + + + + + depth 256 + 1000 Hz + + + + + + + + + + + + + + + + + + −20 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + Relative change to batched (%) + + + + + + + + + + + + + -0.29% + + + +7.69% + + + -1.27% + + + +8.42% + + + Total CPU, including final flush + + + + + + + + + + + + Matched round + + + + + + + + Median of paired changes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + depth 48 + 100 Hz + + + + + + + + + + depth 48 + 1000 Hz + + + + + + + + + + depth 256 + 100 Hz + + + + + + + + + + depth 256 + 1000 Hz + + + + + + + + + + + + + + + −20 + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + Relative change to batched (%) + + + + + + + + + + + + + +0.10% + + + +10.29% + + + +0.48% + + + +23.72% + + + Work-only wall time, excluding final flush + + + + + + + + + + + + Matched round + + + + + + + + Median of paired changes + + + + + Deferred OTel callback research · seven matched rounds per setting + + + Deferred research, not product overhead or an RC commitment. Dots show all pairs; diamonds show paired medians. + + + + + + + + + + + diff --git a/reports/2026-11-17-signal-weights.md b/reports/2026-11-17-signal-weights.md index 5cd783c..0c5b991 100644 --- a/reports/2026-11-17-signal-weights.md +++ b/reports/2026-11-17-signal-weights.md @@ -84,3 +84,11 @@ correction. Historical evidence is retained. Their absolute signal/weight claims must not be reused as post-fix evidence. CPU/latency observations remain historical measurements of their pinned code; remeasure before asserting current overhead. This report does not invalidate every historical number or silently recalculate it. + + +## Recorded results at a glance + +![Recorded results](2026-11-17-signal-weights/results.svg) + +Exact event conservation only; not function-share accuracy or overhead. + diff --git a/reports/2026-11-17-signal-weights/results.svg b/reports/2026-11-17-signal-weights/results.svg new file mode 100644 index 0000000..d22b1ec --- /dev/null +++ b/reports/2026-11-17-signal-weights/results.svg @@ -0,0 +1,458 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CLI + + + + + + + + + + FPM + + + + + + + + + + RR + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 150 + + + + + + + + + + + + + 200 + + + + + + + + + + + + + 250 + + + + + + + + + + + + + 300 + + + + + + + + + + + + + 350 + + + + Weighted events (encoded/backend ns divided by period) + + + + + + + + + + 300 at every stage + + + 301 at every stage + + + 298 at every stage + + + + + + + + + + Native + + + + + + Profile + + + + + + Spool + + + + + + PHP pprof + + + + + + Go pprof + + + + + + Pyroscope + + + + + Weights · saved evidence · 2026-11-17 + + + Exact event conservation only; not function-share accuracy or overhead. + + + + + + + + diff --git a/reports/overview/overhead.svg b/reports/overview/overhead.svg new file mode 100644 index 0000000..5aa21d5 --- /dev/null +++ b/reports/overview/overhead.svg @@ -0,0 +1,1883 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 36.16 + + + 36.42 + + + 36.57 + + + 36.64 + + + 37.80 + + + 38.23 + + + FPM + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + HTTP duration (ms) + + + + + + + + + + 36.60 + + + 36.87 + + + 37.10 + + + 36.76 + + + 37.09 + + + 37.39 + + + RoadRunner + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Median + + + + + + + + + + p95 + + + + + + + + + + p99 + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + HTTP duration (ms) + + + + + + + + + + 35.62 + + + 35.77 + + + 35.84 + + + 35.56 + + + 35.74 + + + 35.87 + + + Swoole + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Container CPU % (100% = one core) + + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Container CPU % (100% = one core) + + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + On + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + + + + + + + + + + 120 + + + + Seconds since each arm began + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 50 + + + + + + + + + + + + + 60 + + + + Container CPU % (100% = one core) + + + + + + + + + + + + + + + + + + + + + + + Off + + + + + + On + + + + + Historical overhead A/B · depth 48 · sampleRate 0.1 · 20 requests/s + + + Core 0.1.0. Each panel is a separate A/B pair, not a runtime ranking. Host/configuration-specific. + + + + + + + + + + + + + + + + + + + + + + + diff --git a/reports/overview/soak-memory.svg b/reports/overview/soak-memory.svg new file mode 100644 index 0000000..cfef22d --- /dev/null +++ b/reports/overview/soak-memory.svg @@ -0,0 +1,2870 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + Container memory usage (MiB) + + + + + + + + + + + + + + + + FPM + + + + + + + + + + App container + + + + + + Agent container + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 40 + + + + + + + + + + + + + 60 + + + + + + + + + + + + + 80 + + + + + + + + + + + + + 100 + + + + Container memory usage (MiB) + + + + + + + + + + + + + + + + RoadRunner + worker-scoped profiler rerun + + + + + + + + + + App container + + + + + + Agent container + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 1 + + + + + + + + + + + + + 2 + + + + + + + + + + + + + 3 + + + + + + + + + + + + + 4 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 6 + + + + Hours since first observation + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + 5 + + + + + + + + + + + + + 10 + + + + + + + + + + + + + 15 + + + + + + + + + + + + + 20 + + + + + + + + + + + + + 25 + + + + Container memory usage (MiB) + + + + + + + + + + + + + + + + Swoole + + + + + + + + + + App container + + + + + + Agent container + + + + + Historical completed 6h depth-48 soaks · Go-agent reader + + + Core/agent 0.1.0. RR rerun after lifecycle fix. Container memory, not process RSS or proof of leak freedom. + + + + + + + + + + + + + + diff --git a/reports/plot-manifest.json b/reports/plot-manifest.json new file mode 100644 index 0000000..6c1ea01 --- /dev/null +++ b/reports/plot-manifest.json @@ -0,0 +1,717 @@ +{ + "matplotlib": "3.10.8", + "figures": [ + { + "report": "reports/2026-11-03-chaos-pyroscope-cloud.md", + "kind": "chaos", + "image": "reports/2026-11-03-chaos-pyroscope-cloud/results.svg", + "sources": { + "reports/2026-11-03-chaos-pyroscope-cloud/health.json": "1b719144b32b09a0397aa318390f75c2e771e88241ea15d280ef02b7d8d97385", + "reports/2026-11-03-chaos-pyroscope-cloud/k6.json": "b4072253037e347befa60bcbd224c160513644f1424783193a6db451bfb116a6", + "reports/2026-11-03-chaos-pyroscope-cloud/spool-timeseries.csv": "84342b6b7ba479df86b12082db8e9dda92ea0133a4295bd81a2cd9be7cd58354", + "reports/2026-11-03-chaos-pyroscope-cloud/toxic.json": "4474b611f2c602ec99b70a4fc8479e6e55682f6143d6c51a5785fd4372a9a170" + }, + "derived": { + "achieved_rps": 19.689223912502214, + "http_failed_percent": 0, + "max_files": 500.0, + "last_files": 500.0, + "soft_setting": 500 + }, + "svg_sha256": "a853b26b97c5043ec11bca5704824cac78448461a62e114ebcc31ed6d6497229" + }, + { + "report": "reports/2026-11-03-overhead-cloud.md", + "kind": "overhead", + "image": "reports/2026-11-03-overhead-cloud/results.svg", + "sources": { + "reports/2026-11-03-overhead-cloud/baseline-fpm-stats.csv": "2edcd6d3b8cf7c2a19d309b2e708cf0f38db87ffda61b4870c7aca7db3cbffc2", + "reports/2026-11-03-overhead-cloud/baseline-k6.json": "3ab39d85119810a501d436762c88f02fb4d9f0ad65b0d77013283ebb3e749678", + "reports/2026-11-03-overhead-cloud/on-fpm-stats.csv": "eea9071cfe009c7758f139688bd44f4ce73e5cb44ce6cf06eac67c4a287bd40a", + "reports/2026-11-03-overhead-cloud/on-k6.json": "940d0b4636870e3244aecb7ec2340b82af4c44297e6c3d5e750e2d0ea1db6cd0" + }, + "derived": { + "latency_ms": [ + { + "med": 37.639461499999996, + "p(95)": 38.847482, + "p(99)": 40.76288038 + }, + { + "med": 38.185096, + "p(95)": 40.250348, + "p(99)": 42.168463 + } + ], + "achieved_rps": [ + 19.843512894789157, + 19.841382257798816 + ], + "http_failed_percent": [ + 0, + 0 + ] + }, + "svg_sha256": "b6536807b60fd64594f699d4c3e2e8f7e5c244105b2ce98e1540d58d023566f3" + }, + { + "report": "reports/2026-11-03-smoke-sample.md", + "kind": "smoke", + "image": "reports/2026-11-03-smoke-sample/results.svg", + "sources": { + "reports/2026-11-03-smoke-sample.md": "9fad10e653221d48d53ea21031e09f192e598efd874b88b3fc6092ad3625b145" + }, + "derived": { + "approximate_latency_ms_from_markdown": [ + 39.2, + 41.9, + 74.7 + ] + }, + "svg_sha256": "f0be052ac3aa2c3988489f3c411bbe93933f50cbddaeac47f527b83d9dd2c799" + }, + { + "report": "reports/2026-11-03-soak-cloud.md", + "kind": "soak", + "image": "reports/2026-11-03-soak-cloud/results.svg", + "sources": { + "reports/2026-11-03-soak-cloud/app-drain-stats.csv": "154b253203f8e672a8e860dc257d5e2c7511859337677cb40fde0767a45fd0ba", + "reports/2026-11-03-soak-cloud/app-fpm-stats.csv": "f4239ad2655720f3e039bf0f9e5b5bb5cd435e4320348640fed5d23b3d751e9e" + }, + "derived": { + "app-drain": { + "samples": 4238, + "hours": 72.00222222222222, + "memory_first_mib": 69.5, + "memory_last_mib": 69.5 + }, + "app-fpm": { + "samples": 4238, + "hours": 72.00277777777778, + "memory_first_mib": 32.41999912261963, + "memory_last_mib": 35.709999084472656 + } + }, + "svg_sha256": "a6bca90ca0b1481b5ad27e779ad1ffbe08b1b541bcafedd870808037ddfcd65d" + }, + { + "report": "reports/2026-11-03-spool-pressure-cloud.md", + "kind": "spool-pressure", + "image": "reports/2026-11-03-spool-pressure-cloud/results.svg", + "sources": { + "reports/2026-11-03-spool-pressure-cloud/drain-catchup.txt": "a1c9867052e627fa4c2815d3685cec53e21fe1efed6dcfa83a43e5f178c2c2c0", + "reports/2026-11-03-spool-pressure-cloud/health.json": "1794b91a45a836463d198895f7d24f7d711ba71d7204dc8d439d21a2106aa456", + "reports/2026-11-03-spool-pressure-cloud/k6.json": "08639f80bd8319105c4dc25af0656a0e22c4e891491af905a1c2ec7f5da20f77", + "reports/2026-11-03-spool-pressure-cloud/spool-timeseries.csv": "d00f0a6ad3e42a63bc86a9affb18d901f3b84e8d86de3afbdb41d449d27e5c06" + }, + "derived": { + "achieved_rps": 19.79202282635529, + "http_failed_percent": 0, + "max_files": 80.0, + "last_files": 0.0, + "soft_setting": 80, + "catchup_seconds": 41 + }, + "svg_sha256": "eb30c80f9ef3a2f3fd57bb0504163f5c098657a233796463e24101a8845506ca" + }, + { + "report": "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud.md", + "kind": "chaos", + "image": "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/health.json": "9034bf8145f9fa9aa329ace627ddef46e6ef9aa0d44ec1cba445dc0e7cd9e66e", + "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/k6.json": "c88c8bbf30eb3e6ce8599f04d51ea1d695bbd028e1fa4fca0f3676d368ddaeb5", + "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/meta.txt": "ba3ead0d7337b40b347be30fd7a612abde31990671a6358b649770e11830c954", + "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/spool-timeseries.csv": "50d91e8630e98a7a2799b8ebbc0a4d268ee42b722650fccdf0c9857bbb13ca56", + "reports/2026-11-06-chaos-pyroscope-agent-depth48-cloud/toxic.json": "4474b611f2c602ec99b70a4fc8479e6e55682f6143d6c51a5785fd4372a9a170" + }, + "derived": { + "achieved_rps": 19.691087808746456, + "http_failed_percent": 0, + "max_files": 172.0, + "last_files": 5.0, + "soft_setting": 500 + }, + "svg_sha256": "1cacc6217c589df8a072bae6a15a7874f5f289b327481ba63742c98edbb08f63" + }, + { + "report": "reports/2026-11-06-chaos-pyroscope-depth48-cloud.md", + "kind": "chaos", + "image": "reports/2026-11-06-chaos-pyroscope-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-chaos-pyroscope-depth48-cloud/health.json": "9034bf8145f9fa9aa329ace627ddef46e6ef9aa0d44ec1cba445dc0e7cd9e66e", + "reports/2026-11-06-chaos-pyroscope-depth48-cloud/k6.json": "c17768e667d10e07601a78801b8abbc9d5c67edadf3f3a878a63784ba4935d8f", + "reports/2026-11-06-chaos-pyroscope-depth48-cloud/meta.txt": "29c37f980abcca864d768515ed566d7df792c9bff4f3ff531f295f721eb939e3", + "reports/2026-11-06-chaos-pyroscope-depth48-cloud/spool-timeseries.csv": "954e89b5c64791891b885a164ae88da7517e10b81ad58f37338020174f385de5", + "reports/2026-11-06-chaos-pyroscope-depth48-cloud/toxic.json": "4474b611f2c602ec99b70a4fc8479e6e55682f6143d6c51a5785fd4372a9a170" + }, + "derived": { + "achieved_rps": 19.68716822883097, + "http_failed_percent": 0, + "max_files": 500.0, + "last_files": 500.0, + "soft_setting": 500 + }, + "svg_sha256": "9bb9183b8ee681176df83ef7d78b5d98c107e95bd5e315568a06dfd02661a003" + }, + { + "report": "reports/2026-11-06-overhead-depth48-cloud.md", + "kind": "overhead", + "image": "reports/2026-11-06-overhead-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-overhead-depth48-cloud/baseline-fpm-stats.csv": "16595e2a334cd5973300f037c7188a81ff7fb5f6b67b605f8a965f576e07a60e", + "reports/2026-11-06-overhead-depth48-cloud/baseline-k6.json": "1d39e0d0ae84c07ca26b2b4fb3b87b14a8632e5f3e20cef0a565c4629c71fa41", + "reports/2026-11-06-overhead-depth48-cloud/on-fpm-stats.csv": "9fb314cbe48628278274a97d50e08793fceb9e8627850e40579010aa44a50948", + "reports/2026-11-06-overhead-depth48-cloud/on-k6.json": "e8cf50fb2527405d27924526dd4132db1cf38fbe8f127047fa573f6ee0d83d63" + }, + "derived": { + "latency_ms": [ + { + "med": 36.161514499999996, + "p(95)": 36.4165162, + "p(99)": 36.56652108 + }, + { + "med": 36.640962, + "p(95)": 37.802752, + "p(99)": 38.229776 + } + ], + "achieved_rps": [ + 19.844478618655224, + 19.842215499671457 + ], + "http_failed_percent": [ + 0, + 0 + ] + }, + "svg_sha256": "b8826aed7784a3a9820b8b423c3d7ad3deae635b34ff081b8ac04970f749fbb6" + }, + { + "report": "reports/2026-11-06-rps-pipeline-agent-depth48-cloud.md", + "kind": "rps-pipeline", + "image": "reports/2026-11-06-rps-pipeline-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-rps-pipeline-agent-depth48-cloud/health.json": "af85c7f2b9222d091fe3786d566fd9a68a56b7848835871d529c1c9aaa22dcfb", + "reports/2026-11-06-rps-pipeline-agent-depth48-cloud/k6.json": "524779f2cb9bb3648e86f5fa545cf84d37716cdcdba78c0ab5c017c59b9613b7", + "reports/2026-11-06-rps-pipeline-agent-depth48-cloud/meta.txt": "c38d8a684de625ba037e1edc0cdcf54905b91328f2fe9b5b27ebe8f248551137", + "reports/2026-11-06-rps-pipeline-agent-depth48-cloud/spool-timeseries.csv": "41dfd408d820c19d1a7df51f7d87aa48713b00d180b0968d134bfc97bd9ea6da" + }, + "derived": { + "achieved_rps": 697.5831709474521, + "http_failed_percent": 0, + "max_files": 222.0, + "last_files": 109.0, + "soft_setting": 500 + }, + "svg_sha256": "b1a90579f18c8f8a23d08827514778526e9ec8fd0f0e41cd54b4ac90887833cf" + }, + { + "report": "reports/2026-11-06-rps-pipeline-cloud.md", + "kind": "rps-pipeline", + "image": "reports/2026-11-06-rps-pipeline-cloud/results.svg", + "sources": { + "reports/2026-11-06-rps-pipeline-cloud/health.json": "af85c7f2b9222d091fe3786d566fd9a68a56b7848835871d529c1c9aaa22dcfb", + "reports/2026-11-06-rps-pipeline-cloud/k6.json": "c9d6c361488d88da3f3501de156152c988c4c0a70796b1668cdb2683723c13cc", + "reports/2026-11-06-rps-pipeline-cloud/meta.txt": "7c3ddb337b3e40a1726e5173d56670e5706e4581df2c901536d84800a50f532d", + "reports/2026-11-06-rps-pipeline-cloud/spool-timeseries.csv": "5a50e0a3c8afb9d0b87eb31bfcfa1ecf98cde513e5210d62eeb165ab42c9de27" + }, + "derived": { + "achieved_rps": 697.5729338044807, + "http_failed_percent": 0, + "max_files": 602.0, + "last_files": 600.0, + "soft_setting": 500 + }, + "svg_sha256": "53f2b152b72f5a61a63ba202f837aa14e1928dc1c61657534e9aae0219cca098" + }, + { + "report": "reports/2026-11-06-spool-pressure-agent-depth48-cloud.md", + "kind": "spool-pressure", + "image": "reports/2026-11-06-spool-pressure-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-spool-pressure-agent-depth48-cloud/drain-catchup.txt": "b9aa13b33ddb3895e28393a806f5ea8cb3613612d8564c187453870a652b6edf", + "reports/2026-11-06-spool-pressure-agent-depth48-cloud/health.json": "5c52b20eb8999c1273be280af6edce62195b708285763ec0625d4a16d94502da", + "reports/2026-11-06-spool-pressure-agent-depth48-cloud/k6.json": "98242968ccd2d138e467420ba0cc7f93ea788a2a13633308bb6f5a80ea9220b8", + "reports/2026-11-06-spool-pressure-agent-depth48-cloud/meta.txt": "0e55e743fb36054f30ab69570c7fd559e61b7b1ac24d17a0f676283642b2e627", + "reports/2026-11-06-spool-pressure-agent-depth48-cloud/spool-timeseries.csv": "79b3c9aa8704b0ba2ba52556c64b6f1b62a1bf9465753f2662c00f872636c71f" + }, + "derived": { + "achieved_rps": 19.790129113313295, + "http_failed_percent": 0, + "max_files": 80.0, + "last_files": 0.0, + "soft_setting": 80, + "catchup_seconds": 2 + }, + "svg_sha256": "6dbe0c96defb51b305e1789046557f082aa4160769f3a589a5f85ab4d2cb1c30" + }, + { + "report": "reports/2026-11-06-spool-pressure-depth48-cloud.md", + "kind": "spool-pressure", + "image": "reports/2026-11-06-spool-pressure-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-06-spool-pressure-depth48-cloud/drain-catchup.txt": "b93e68a5fbe1239b5c0b86a70985e6a19f1ab5ec23ef7048a36d54ba2eda0559", + "reports/2026-11-06-spool-pressure-depth48-cloud/health.json": "5c52b20eb8999c1273be280af6edce62195b708285763ec0625d4a16d94502da", + "reports/2026-11-06-spool-pressure-depth48-cloud/k6.json": "6744291d91108775bc11aafc1e7318b736228c2b2db58f4a7d93073d10d2dee4", + "reports/2026-11-06-spool-pressure-depth48-cloud/meta.txt": "8ad36449eca8291e92a356b62d4f216c3ceb696cc0e6f70921134b726d782dbf", + "reports/2026-11-06-spool-pressure-depth48-cloud/spool-timeseries.csv": "4f89c04627b8d1725a140a55b7be9bbe3057010f9680ecad885014e0097d70a5" + }, + "derived": { + "achieved_rps": 19.793143370471086, + "http_failed_percent": 0, + "max_files": 80.0, + "last_files": 0.0, + "soft_setting": 80, + "catchup_seconds": 40 + }, + "svg_sha256": "0ee45d9299d166d3af1e71b57d5d9efedc352983b4f9fe0e11f968460cd82c2b" + }, + { + "report": "reports/2026-11-07-overhead-rr-agent-depth48-cloud.md", + "kind": "overhead", + "image": "reports/2026-11-07-overhead-rr-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/baseline-fpm-stats.csv": "7695fc8040ba6d175437a2d676f608a4b3998eea63266b5b532a2cbcd61ab276", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/baseline-k6.json": "36cad572fb0d3290ef2d80b5f48e3071d75b420e5765700563d72dcd2ca28af6", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/on-fpm-stats.csv": "b90cb14bb974b36a38a256a024ed73fca3a045ffb62d3c23544673dc896c8e06", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/on-k6.json": "bc2ee4df9d70e2758fb16df712f5554ff6a54ff98279ed982d2de1df68130d2b" + }, + "derived": { + "latency_ms": [ + { + "med": 36.603497000000004, + "p(95)": 36.866413, + "p(99)": 37.102427819999996 + }, + { + "med": 36.7606065, + "p(95)": 37.092006950000005, + "p(99)": 37.3853758 + } + ], + "achieved_rps": [ + 19.842087585726937, + 19.84192927308932 + ], + "http_failed_percent": [ + 0, + 0 + ] + }, + "svg_sha256": "011054b4f306e0795b754a077c01fccf6655be329d4d9d23bcb9221c4fc5f733" + }, + { + "report": "reports/2026-11-07-overhead-swoole-agent-depth48-cloud.md", + "kind": "overhead", + "image": "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/baseline-fpm-stats.csv": "83f9d4b7607f709c8c3eab42b6672e8aaf516af8d58479cac679e3c9f01d8e19", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/baseline-k6.json": "d103e8a67d5c3af6fa0feb0112c70b3e2e68c5b7dca4d734b52ce46309afc0e1", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/on-fpm-stats.csv": "ec325b4f569cf4c3ecc5f51fc51b013a67ad19a56e77971c2f6b87453316f28a", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/on-k6.json": "0296823aa6ad59ccbf99daa01ab3b0db1c421b6510099df0e947672183623916" + }, + "derived": { + "latency_ms": [ + { + "med": 35.619895, + "p(95)": 35.76694615, + "p(99)": 35.84290692 + }, + { + "med": 35.55875, + "p(95)": 35.7399865, + "p(99)": 35.86901415 + } + ], + "achieved_rps": [ + 19.844847736465525, + 19.844811687429804 + ], + "http_failed_percent": [ + 0, + 0 + ] + }, + "svg_sha256": "8ea05dae0744a68b108bfce82a77b600f4a18c5f7d5814ae21f3421e3b7eff22" + }, + { + "report": "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud.md", + "kind": "rps-pipeline", + "image": "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/health.json": "5df4f3dbbc28870c7c90a9c3c8df5586d6fb93857db8908abd917d615840c56e", + "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/k6.json": "5044325c75e156ea72e84e1f80cbbb9212d8c869d9ab241cc2712c88ad33acb6", + "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/meta.txt": "dff7b909f003533a2c7193dde77fc48b5096f953f388943900e8c5d3bff3cd34", + "reports/2026-11-07-rps-pipeline-rr-agent-depth48-cloud/spool-timeseries.csv": "e002e53f1fa9eaec510f5294c0fe5ca7613a7a1a18a0d178ce4f21e59bcd95d0" + }, + "derived": { + "achieved_rps": 697.5530450433149, + "http_failed_percent": 0, + "max_files": 230.0, + "last_files": 124.0, + "soft_setting": null, + "health_note": "Archived capture is not JSON; no soft threshold inferred" + }, + "svg_sha256": "762221a2807d068b2758c82e3d9d2c3be08f0d992427fc9a9121a962c054a8fb" + }, + { + "report": "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud.md", + "kind": "rps-pipeline", + "image": "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/health.json": "467277bec00a9883f13b946f6583bcfd2028d3b8bfd3656d5bf568d0b7a6fd00", + "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/k6.json": "74d7e02b08d469ba1e704d7854c9b820619524dcbb363085f4a663d0da749d60", + "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/meta.txt": "5d3d16a48a08b1e730530850c23370bf7c3c7f2b360e59d12f222b13d6479864", + "reports/2026-11-07-rps-pipeline-swoole-agent-depth48-cloud/spool-timeseries.csv": "59294a9432a6facec4006dcf4fa5b81d9a9f7bb66e868436f079eca0232370a6" + }, + "derived": { + "achieved_rps": 697.4983208361066, + "http_failed_percent": 0, + "max_files": 32.0, + "last_files": 0.0, + "soft_setting": null, + "health_note": "Archived capture is not JSON; no soft threshold inferred" + }, + "svg_sha256": "27df1f62350aa109ba4deaed2fd377092d5c2c2fa845a004500b2f627695841c" + }, + { + "report": "reports/2026-11-07-soak-fpm-agent-depth48-cloud.md", + "kind": "soak", + "image": "reports/2026-11-07-soak-fpm-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-soak-fpm-agent-depth48-cloud/app-agent-stats.csv": "065369a3a9889be0d058745457de263140bb49a6a287af734fa03b9bd269b8d7", + "reports/2026-11-07-soak-fpm-agent-depth48-cloud/app-fpm-stats.csv": "5558a4b19cc4ab9c5e35aa797a28d72b1a03f18ee9d125eea461a9e1b2ce40d3" + }, + "derived": { + "app-agent": { + "samples": 355, + "hours": 6.008611111111111, + "memory_first_mib": 2.792999267578125, + "memory_last_mib": 11.169999122619629 + }, + "app-fpm": { + "samples": 355, + "hours": 6.0088888888888885, + "memory_first_mib": 13.65999984741211, + "memory_last_mib": 23.15999984741211 + } + }, + "svg_sha256": "b32e123d176fe0cee4e7ef2f4b0ab61e06830c74010dbcb9ac40b9da690c65cf" + }, + { + "report": "reports/2026-11-07-soak-swoole-agent-depth48-cloud.md", + "kind": "soak", + "image": "reports/2026-11-07-soak-swoole-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-07-soak-swoole-agent-depth48-cloud/app-agent-stats.csv": "942529cab5475e21470342c8c7a0fba6a2ed17d3c6bec6c9364c90441e52d379", + "reports/2026-11-07-soak-swoole-agent-depth48-cloud/app-swoole-stats.csv": "b8b8511815d1a122b4c0845196bb95dfef20fb04f8e142bbe6a1afa0932f297d" + }, + "derived": { + "app-agent": { + "samples": 355, + "hours": 6.010555555555555, + "memory_first_mib": 10.539999961853027, + "memory_last_mib": 14.539999961853027 + }, + "app-swoole": { + "samples": 355, + "hours": 6.010555555555555, + "memory_first_mib": 21.089999198913574, + "memory_last_mib": 25.339999198913574 + } + }, + "svg_sha256": "a73a700e9e4af21935ddbc6f9a378e74afe2157226154920519903ce56fea10c" + }, + { + "report": "reports/2026-11-08-soak-rr-agent-depth48-cloud.md", + "kind": "soak", + "image": "reports/2026-11-08-soak-rr-agent-depth48-cloud/results.svg", + "sources": { + "reports/2026-11-08-soak-rr-agent-depth48-cloud/app-agent-stats.csv": "1435aefcf625369a7d1a9d82266698863031f64d1cc50b1aa97fd861eb33af23", + "reports/2026-11-08-soak-rr-agent-depth48-cloud/app-rr-stats.csv": "8cf38a2ad197b485039ed6d3028a9e9e0105451e4f67435131c58f0d7a26f16d" + }, + "derived": { + "app-agent": { + "samples": 355, + "hours": 6.01, + "memory_first_mib": 12.84999942779541, + "memory_last_mib": 17.679999351501465 + }, + "app-rr": { + "samples": 355, + "hours": 6.009722222222222, + "memory_first_mib": 68.65999984741211, + "memory_last_mib": 98.11999988555908 + } + }, + "svg_sha256": "9bd671e45126fdf54b43edba4ba3a43d5b7912c58d3a874eaba55651489c552c" + }, + { + "report": "reports/2026-11-17-otel-callback-preflight.md", + "kind": "research", + "image": "reports/2026-11-17-otel-callback-preflight/results.svg", + "sources": { + "reports/2026-11-17-otel-callback-preflight/overhead.json": "b13ad1051c063eb391a47a5c46f836c8f12ad49544a1b3a1061ea9a2dc423ab0" + }, + "derived": { + "matched_rounds": 7, + "settings": [ + { + "depth": 48, + "hz": 100, + "total_cpu_ns_paired_percent": [ + -2.18285950117193, + -0.2914780855703514, + 2.7106897783988115, + -1.5347371125361886, + -14.362821595773623, + 2.9193909333482093, + 0.3183663640903278 + ], + "total_cpu_ns_median_percent": -0.2914780855703514, + "work_wall_ns_paired_percent": [ + -2.6820246841611772, + 0.09944543827240526, + 3.0963001743047114, + -1.118716775587414, + -12.585871143296789, + 3.2743615376732427, + 0.7843789272493185 + ], + "work_wall_ns_median_percent": 0.09944543827240526 + }, + { + "depth": 48, + "hz": 1000, + "total_cpu_ns_paired_percent": [ + 7.693432448922866, + -6.228963571994561, + 9.14134555481092, + 42.04292520381516, + 1.610806391301578, + 15.761953075960422, + 6.619521952599361 + ], + "total_cpu_ns_median_percent": 7.693432448922866, + "work_wall_ns_paired_percent": [ + 10.292193971383078, + -3.0013249824972776, + 11.042347555962074, + 22.264389879012157, + 3.0513457030486357, + 19.464071527273052, + 10.045117599639376 + ], + "work_wall_ns_median_percent": 10.292193971383078 + }, + { + "depth": 256, + "hz": 100, + "total_cpu_ns_paired_percent": [ + 2.037045722897335, + -11.577410344411742, + -1.2695481562698396, + -4.752852782343275, + 0.7153200517423519, + 10.680899456612792, + -17.192479510084524 + ], + "total_cpu_ns_median_percent": -1.2695481562698396, + "work_wall_ns_paired_percent": [ + 3.962639765987208, + -8.83553111573484, + 0.4750395635510163, + -3.125142198855846, + 3.65568287898137, + 12.828737961607374, + -15.940057233773675 + ], + "work_wall_ns_median_percent": 0.4750395635510163 + }, + { + "depth": 256, + "hz": 1000, + "total_cpu_ns_paired_percent": [ + 8.416104900174947, + 16.014376585526602, + 40.63573288687336, + -4.626702965842632, + 10.215324033345908, + -0.09666667173305887, + 5.9909207370301365 + ], + "total_cpu_ns_median_percent": 8.416104900174947, + "work_wall_ns_paired_percent": [ + 23.71642968811425, + 33.06878509379294, + 59.606113979693106, + 9.62470483585076, + 26.85310080622052, + 16.648091314372458, + 21.97850398594694 + ], + "work_wall_ns_median_percent": 23.71642968811425 + } + ] + }, + "svg_sha256": "486e17377c985150e8b10c21987607131ac5031b9b58344f638a8922dbfed4f8" + }, + { + "report": "reports/2026-11-17-signal-weights.md", + "kind": "weights", + "image": "reports/2026-11-17-signal-weights/results.svg", + "sources": { + "reports/2026-11-17-signal-weights/cli-captures.jsonl": "8a67ce8a51e019da3940acca0551f2df54a43cd17647cf534078d7b0ce48fb75", + "reports/2026-11-17-signal-weights/fpm-captures.jsonl": "aa0078e2e878e01aa3f8b9dfe14534e5d03f6bb507f2e2754b027390fbb9b9c0", + "reports/2026-11-17-signal-weights/rr-captures.jsonl": "3f7fd602e7352ba97ec65ff163e7f7e09db44a24653fe7f9f084c41e847a6e0e", + "reports/2026-11-17-signal-weights/summary.json": "958260e6cc192f710d89aa5653c379bd6bfe4a90486a249f0f1c1c5ff6c34da3" + }, + "derived": { + "stages": [ + "Native", + "Profile", + "Spool", + "PHP pprof", + "Go pprof", + "Pyroscope" + ], + "runtime_values": { + "cli": [ + 300, + 300, + 300, + 300.0, + 300.0, + 300.0 + ], + "fpm": [ + 301, + 301, + 301, + 301.0, + 301.0, + 301.0 + ], + "rr": [ + 298, + 298, + 298, + 298.0, + 298.0, + 298.0 + ] + } + }, + "svg_sha256": "3b34dfc7faee433da76f0a686635b6aa6e73e32cdf66fdd88d2e76a5d2166f80" + }, + { + "report": "README candidate", + "kind": "overhead", + "image": "reports/overview/overhead.svg", + "sources": { + "reports/2026-11-06-overhead-depth48-cloud/baseline-fpm-stats.csv": "16595e2a334cd5973300f037c7188a81ff7fb5f6b67b605f8a965f576e07a60e", + "reports/2026-11-06-overhead-depth48-cloud/baseline-k6.json": "1d39e0d0ae84c07ca26b2b4fb3b87b14a8632e5f3e20cef0a565c4629c71fa41", + "reports/2026-11-06-overhead-depth48-cloud/on-fpm-stats.csv": "9fb314cbe48628278274a97d50e08793fceb9e8627850e40579010aa44a50948", + "reports/2026-11-06-overhead-depth48-cloud/on-k6.json": "e8cf50fb2527405d27924526dd4132db1cf38fbe8f127047fa573f6ee0d83d63", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/baseline-fpm-stats.csv": "7695fc8040ba6d175437a2d676f608a4b3998eea63266b5b532a2cbcd61ab276", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/baseline-k6.json": "36cad572fb0d3290ef2d80b5f48e3071d75b420e5765700563d72dcd2ca28af6", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/on-fpm-stats.csv": "b90cb14bb974b36a38a256a024ed73fca3a045ffb62d3c23544673dc896c8e06", + "reports/2026-11-07-overhead-rr-agent-depth48-cloud/on-k6.json": "bc2ee4df9d70e2758fb16df712f5554ff6a54ff98279ed982d2de1df68130d2b", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/baseline-fpm-stats.csv": "83f9d4b7607f709c8c3eab42b6672e8aaf516af8d58479cac679e3c9f01d8e19", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/baseline-k6.json": "d103e8a67d5c3af6fa0feb0112c70b3e2e68c5b7dca4d734b52ce46309afc0e1", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/on-fpm-stats.csv": "ec325b4f569cf4c3ecc5f51fc51b013a67ad19a56e77971c2f6b87453316f28a", + "reports/2026-11-07-overhead-swoole-agent-depth48-cloud/on-k6.json": "0296823aa6ad59ccbf99daa01ab3b0db1c421b6510099df0e947672183623916" + }, + "derived": { + "FPM": { + "off": { + "med": 36.161514499999996, + "p(95)": 36.4165162, + "p(99)": 36.56652108 + }, + "on": { + "med": 36.640962, + "p(95)": 37.802752, + "p(99)": 38.229776 + }, + "cpu_samples": [ + 40, + 40 + ] + }, + "RoadRunner": { + "off": { + "med": 36.603497000000004, + "p(95)": 36.866413, + "p(99)": 37.102427819999996 + }, + "on": { + "med": 36.7606065, + "p(95)": 37.092006950000005, + "p(99)": 37.3853758 + }, + "cpu_samples": [ + 40, + 40 + ] + }, + "Swoole": { + "off": { + "med": 35.619895, + "p(95)": 35.76694615, + "p(99)": 35.84290692 + }, + "on": { + "med": 35.55875, + "p(95)": 35.7399865, + "p(99)": 35.86901415 + }, + "cpu_samples": [ + 40, + 40 + ] + } + }, + "svg_sha256": "4168ac5e3451da0313098723aba764706ab492dd836922d8e934035c737506d3" + }, + { + "report": "README candidate", + "kind": "soak-memory", + "image": "reports/overview/soak-memory.svg", + "sources": { + "reports/2026-11-07-soak-fpm-agent-depth48-cloud/app-agent-stats.csv": "065369a3a9889be0d058745457de263140bb49a6a287af734fa03b9bd269b8d7", + "reports/2026-11-07-soak-fpm-agent-depth48-cloud/app-fpm-stats.csv": "5558a4b19cc4ab9c5e35aa797a28d72b1a03f18ee9d125eea461a9e1b2ce40d3", + "reports/2026-11-07-soak-swoole-agent-depth48-cloud/app-agent-stats.csv": "942529cab5475e21470342c8c7a0fba6a2ed17d3c6bec6c9364c90441e52d379", + "reports/2026-11-07-soak-swoole-agent-depth48-cloud/app-swoole-stats.csv": "b8b8511815d1a122b4c0845196bb95dfef20fb04f8e142bbe6a1afa0932f297d", + "reports/2026-11-08-soak-rr-agent-depth48-cloud/app-agent-stats.csv": "1435aefcf625369a7d1a9d82266698863031f64d1cc50b1aa97fd861eb33af23", + "reports/2026-11-08-soak-rr-agent-depth48-cloud/app-rr-stats.csv": "8cf38a2ad197b485039ed6d3028a9e9e0105451e4f67435131c58f0d7a26f16d" + }, + "derived": { + "FPM": { + "samples": { + "App container": 355, + "Agent container": 355 + }, + "hours": 6.009166666666666 + }, + "RoadRunner": { + "samples": { + "App container": 355, + "Agent container": 355 + }, + "hours": 6.010277777777778 + }, + "Swoole": { + "samples": { + "App container": 355, + "Agent container": 355 + }, + "hours": 6.011111111111111 + } + }, + "svg_sha256": "0acb94dfc16230a7f1d0f39346211e59769fa30b4f0c780ca5bd46fa9e3979ab" + } + ] +} diff --git a/scripts/plot-reports.py b/scripts/plot-reports.py new file mode 100644 index 0000000..8c482c7 --- /dev/null +++ b/scripts/plot-reports.py @@ -0,0 +1,417 @@ +#!/usr/bin/env python3 +"""Render saved report data only; no benchmarks, network calls or revised measurements.""" +import argparse +import csv +import hashlib +import io +import json +import math +import os +import pathlib +import re +import statistics +import tempfile + +os.environ.setdefault('MPLCONFIGDIR', str(pathlib.Path(tempfile.gettempdir()) / 'tracewick-report-mpl')) +os.environ.setdefault('XDG_CACHE_HOME', str(pathlib.Path(tempfile.gettempdir()) / 'tracewick-report-cache')) +import matplotlib +matplotlib.use('Agg') +import matplotlib.pyplot as plt + +ROOT = pathlib.Path(__file__).resolve().parents[1] +REPORTS = ROOT / 'reports' +BLUE, ORANGE, GREY, RED = '#176b9a', '#db8b2b', '#768496', '#b43f35' +START, END = '', '' +plt.rcParams.update({'font.family': 'DejaVu Sans', 'font.size': 10, 'axes.titlesize': 11, + 'axes.spines.top': False, 'axes.spines.right': False, + 'axes.labelcolor': '#243746', 'text.color': '#243746', + 'svg.fonttype': 'none', 'figure.facecolor': 'white'}) + + +def strip_block(text): + return re.sub(r'\n*' + re.escape(START) + r'.*?' + re.escape(END) + r'\n*', '\n', text, flags=re.S).rstrip() + '\n' + + +def read_json(path, sources): + sources.add(path) + return json.loads(path.read_text()) + + +def read_meta(directory, sources): + path = directory / 'meta.txt' + if not path.exists(): + return {} + sources.add(path) + return dict(line.split('=', 1) for line in path.read_text().splitlines() if '=' in line) + + +def read_csv(path, sources): + sources.add(path) + with path.open() as stream: + rows = [{k: float(v) for k, v in row.items()} for row in csv.DictReader(stream)] + if not rows or any(b['ts_unix'] < a['ts_unix'] for a, b in zip(rows, rows[1:])): + raise ValueError(f'Empty or nonchronological CSV: {path}') + return rows + + +def metrics(path, sources): + raw = read_json(path, sources)['metrics'] + return {key: value.get('values', value) for key, value in raw.items()} + + +def failure_rate(k6): + # k6 http_req_failed's passes/fails are predicate counters, not failed/successful HTTP counts. + value = k6['http_req_failed'].get('value', k6['http_req_failed'].get('rate')) + if value is None: + raise ValueError('Missing explicit HTTP failure rate') + return value * 100 + + +def series(rows, key, divisor=1, origin=None, time_divisor=1): + origin = rows[0]['ts_unix'] if origin is None else origin + gaps = [b['ts_unix'] - a['ts_unix'] for a, b in zip(rows, rows[1:]) if b['ts_unix'] > a['ts_unix']] + usual = statistics.median(gaps) if gaps else float('inf') + x, y = [], [] + for i, row in enumerate(rows): + if i and row['ts_unix'] - rows[i - 1]['ts_unix'] > 3 * usual: + x.append(float('nan')); y.append(float('nan')) + x.append((row['ts_unix'] - origin) / time_divisor) + y.append(row[key] / divisor) + return x, y + + +def line(axis, rows, key, label, color, divisor=1, origin=None, time_divisor=1): + x, y = series(rows, key, divisor, origin, time_divisor) + axis.plot(x, y, label=label, color=color, linewidth=1.15) + axis.grid(alpha=.2) + + +def latency(axis, arms): + labels = ['Median', 'p95', 'p99'] + width = .7 / len(arms) + for i, (label, k6, color) in enumerate(arms): + values = [k6['http_req_duration'][k] for k in ('med', 'p(95)', 'p(99)')] + bars = axis.bar([n + (i - (len(arms) - 1) / 2) * width for n in range(3)], values, width, + color=color, label=label) + axis.bar_label(bars, fmt='%.2f', fontsize=8, padding=3) + axis.set_xticks(range(3), labels) + axis.set_ylabel('HTTP duration (ms)') + axis.set_title('Recorded k6 latency quantiles') + axis.margins(y=.35) + axis.grid(axis='y', alpha=.2) + axis.legend(fontsize=8) + + +def runtime_name(stem): + if '-rr-' in stem: return 'RoadRunner' + if '-swoole-' in stem: return 'Swoole' + return 'FPM' + + +def historical_footnote(): + return 'Historical run, before the 2026-11-17 flush fix. Host/configuration-specific; see original report pins.' + + +def finish(fig, output, title, footnote, zero_baseline=True): + # Fix the zero baseline only after every series has contributed to autoscaling. + for axis in fig.axes: + if zero_baseline: + axis.set_ylim(bottom=0) + for trace in axis.lines: + finite = [float(v) for v in trace.get_ydata() if math.isfinite(float(v))] + if finite and max(finite) > axis.get_ylim()[1] + 1e-9: + raise ValueError('A saved series would be clipped by the plot scale') + fig.suptitle(title, fontsize=14, fontweight='semibold', y=.99) + fig.text(.5, .012, footnote, ha='center', fontsize=8, color='#586a78') + fig.tight_layout(rect=(0, .055, 1, .955)) + with matplotlib.rc_context({'svg.hashsalt': str(output.relative_to(ROOT))}): + buffer = io.StringIO() + fig.savefig(buffer, format='svg', metadata={'Date': None, 'Creator': None}) + plt.close(fig) + return '\n'.join(line.rstrip() for line in buffer.getvalue().splitlines()) + '\n' + + +def overhead(directory, sources): + fig, axes = plt.subplots(2, 2, figsize=(11.5, 7)) + k = [metrics(directory / (arm + '-k6.json'), sources) for arm in ('baseline', 'on')] + latency(axes[0, 0], [('Off', k[0], GREY), ('On', k[1], BLUE)]) + stats = [read_csv(directory / (arm + '-fpm-stats.csv'), sources) for arm in ('baseline', 'on')] + for rows, label, color in zip(stats, ('Off', 'On'), (GREY, BLUE)): + line(axes[0, 1], rows, 'cpu_percent', label, color) + line(axes[1, 0], rows, 'mem_usage_bytes', label, color, 2**20) + axes[0, 1].set(title='Container CPU — separate A/B windows', ylabel='CPU % (100% = one core)', xlabel='Seconds since each arm began') + axes[1, 0].set(title='Container memory usage — not process RSS', ylabel='MiB', xlabel='Seconds since each arm began') + axes[0, 1].legend(); axes[1, 0].legend() + rates = [item['http_reqs']['rate'] for item in k] + bars = axes[1, 1].bar(['Off', 'On'], rates, color=[GREY, BLUE], width=.5) + axes[1, 1].bar_label(bars, fmt='%.3f', padding=4) + axes[1, 1].set(title='Achieved request rate', ylabel='Requests / second') + axes[1, 1].set_ylim(0, max(rates) * 1.25) + axes[1, 1].text(.5, .9, f'HTTP failures: {failure_rate(k[0]):g}% / {failure_rate(k[1]):g}%', + transform=axes[1, 1].transAxes, ha='center', fontsize=9) + axes[1, 1].grid(axis='y', alpha=.2) + return fig, {'latency_ms': [{name: item['http_req_duration'][name] for name in ('med', 'p(95)', 'p(99)')} for item in k], + 'achieved_rps': rates, 'http_failed_percent': [failure_rate(item) for item in k]} + + +def queue(directory, sources, kind): + rows = read_csv(directory / 'spool-timeseries.csv', sources) + health_path = directory / 'health.json' + sources.add(health_path) + health_valid = True + try: + health = json.loads(health_path.read_text()) + except (ValueError, OSError): + # Some archived health captures contain build output. Do not invent a limit or data. + health = {} + health_valid = False + k6 = metrics(directory / 'k6.json', sources) + meta = read_meta(directory, sources) + fig, axes = plt.subplots(2, 2, figsize=(11.5, 7)) + line(axes[0, 0], rows, 'files', 'Saved spool-file count', BLUE) + if any(row.get('claimed_or_tmp', 0) for row in rows): + line(axes[0, 0], rows, 'claimed_or_tmp', 'Claim/temp entries (separate column)', ORANGE) + limit = health.get('spool_max_files') + if limit is not None: + axes[0, 0].axhline(limit, color=RED, linestyle='--', label=f'Soft admission setting: {limit}') + axes[0, 0].set(title='Recorded queue counts', xlabel='Seconds since first observation', ylabel='Files / entries') + axes[0, 0].legend(fontsize=8) + line(axes[0, 1], rows, 'bytes', 'Saved spool bytes', BLUE, 2**20) + axes[0, 1].set(title='Recorded spool size', xlabel='Seconds since first observation', ylabel='MiB') + latency(axes[1, 0], [('Run', k6, BLUE)]) + axes[1, 1].axis('off') + detail = [f"Achieved: {k6['http_reqs']['rate']:.3f} requests/s", f'HTTP failures: {failure_rate(k6):g}%', + f"Peak saved file count: {max(r['files'] for r in rows):g}", + f"Last saved file count: {rows[-1]['files']:g}"] + derived = {'achieved_rps': k6['http_reqs']['rate'], 'http_failed_percent': failure_rate(k6), + 'max_files': max(row['files'] for row in rows), 'last_files': rows[-1]['files'], 'soft_setting': limit} + if not health_valid: + detail += ['Soft limit: not decoded from archived health capture'] + derived['health_note'] = 'Archived capture is not JSON; no soft threshold inferred' + if 'RATE' in meta: detail.insert(0, f"Requested: {meta['RATE']} requests/s") + catchup = directory / 'drain-catchup.txt' + if catchup.exists(): + sources.add(catchup) + seconds = int(re.search(r'drain_catchup_sec=(\d+)', catchup.read_text())[1]) + derived['catchup_seconds'] = seconds + detail += ['', f'Catch-up after reader restart: {seconds} s', '(separately recorded scalar; not a fitted curve)'] + toxic = directory / 'toxic.json' + if toxic.exists(): + spec = read_json(toxic, sources) + attributes = spec.get('attributes', {}) + detail += ['', f"Injected latency: {attributes.get('latency', 'see toxic.json')} ms"] + detail += ['', 'Lines connect saved samples only.', 'Gaps >3x typical interval are left blank.'] + axes[1, 1].text(.05, .95, '\n'.join(detail), va='top', linespacing=1.6, fontsize=10) + return fig, derived + + +def soak(directory, sources): + paths = sorted(directory.glob('app-*-stats.csv')) + if len(paths) != 2: raise ValueError(f'Expected application and reader stats: {directory}') + series_data = [(p.stem.removesuffix('-stats'), read_csv(p, sources)) for p in paths] + origin = min(rows[0]['ts_unix'] for _, rows in series_data) + fig, axes = plt.subplots(2, 1, figsize=(11.5, 7), sharex=True) + derived = {} + for (label, rows), color in zip(series_data, (ORANGE, BLUE)): + line(axes[0], rows, 'mem_usage_bytes', label, color, 2**20, origin, 3600) + line(axes[1], rows, 'cpu_percent', label, color, 1, origin, 3600) + derived[label] = {'samples': len(rows), 'hours': (rows[-1]['ts_unix']-rows[0]['ts_unix'])/3600, + 'memory_first_mib': rows[0]['mem_usage_bytes']/2**20, + 'memory_last_mib': rows[-1]['mem_usage_bytes']/2**20} + axes[0].set(title='Container memory usage (all saved observations)', ylabel='MiB') + axes[1].set(title='Container CPU (no smoothing)', ylabel='CPU % (100% = one core)', xlabel='Hours since first observation') + for ax in axes: ax.legend() + return fig, derived + + +def weights(directory, sources): + rows = read_json(directory / 'summary.json', sources) + fig, ax = plt.subplots(figsize=(11, 4.8)) + stages = ['Native', 'Profile', 'Spool', 'PHP pprof', 'Go pprof', 'Pyroscope'] + values = [] + colors = [GREY, '#5293b3', '#70a98a', '#dfa850', BLUE, '#495b87'] + for row in rows: + path = directory / row['captures_file']; sources.add(path) + captures = [json.loads(line) for line in path.read_text().splitlines()] + periods = {c['period_ns'] for c in captures} + if len(periods) != 1: raise ValueError('Mixed periods need a different chart') + period = periods.pop() + values.append([row['native_events'], sum(c['profile_events'] for c in captures), row['spool_events'], + row['php_pprof_ns']/period, row['agent_pprof_ns']/period, row['pyroscope_ns']/period]) + for stage, (name, color) in enumerate(zip(stages, colors)): + ax.bar([i + (stage - 2.5) * .12 for i in range(len(rows))], [v[stage] for v in values], + width=.11, color=color, label=name) + for i, v in enumerate(values): + text = f'{v[0]:g} at every stage' if len(set(v)) == 1 else f'Range: {min(v):g}–{max(v):g}' + ax.text(i, max(v) + 6, text, ha='center', fontsize=10) + ax.set_xticks(range(len(rows)), [r['runtime'].upper() for r in rows]) + ax.set_ylabel('Weighted events (encoded/backend ns divided by period)') + ax.set_ylim(0, max(max(v) for v in values)*1.2) + ax.grid(axis='y', alpha=.2); ax.legend(ncol=3, loc='upper center', bbox_to_anchor=(.5, -.1), fontsize=8) + return fig, {'stages': stages, 'runtime_values': {row['runtime']: v for row, v in zip(rows, values)}} + + +def research(directory, sources): + rows = read_json(directory / 'overhead.json', sources)['rows'] + fig, axes = plt.subplots(1, 2, figsize=(12, 5)) + settings = [(depth, hz) for depth in (48, 256) for hz in (100, 1000)] + derived = [] + for index, (depth, hz) in enumerate(settings): + selected = [r for r in rows if r['depth'] == depth and r['hz'] == hz] + pairs = {mode: {r['round']: r for r in selected if r['mode'] == mode} for mode in ('batched', 'otel')} + if set(pairs['batched']) != set(range(1, 8)) or set(pairs['otel']) != set(range(1, 8)): + raise ValueError('Research requires all seven matched rounds') + entry = {'depth': depth, 'hz': hz} + for axis, metric, color in zip(axes, ('total_cpu_ns', 'work_wall_ns'), (BLUE, ORANGE)): + changes = [] + for round_id in range(1, 8): + off, on = pairs['batched'][round_id], pairs['otel'][round_id] + if off['iterations'] != on['iterations'] or off['checksum'] != on['checksum']: + raise ValueError('Unmatched research work') + changes.append((on[metric] / off[metric] - 1) * 100) + median = statistics.median(changes) + axis.scatter([index + (i - 3) * .05 for i in range(7)], changes, color=color, alpha=.7, + s=33, label='Matched round' if index == 0 else None) + axis.scatter(index, median, marker='D', s=35, color='#243746', + label='Median of paired changes' if index == 0 else None) + axis.annotate(f'{median:+.2f}%', (index, median), xytext=(7, 10), textcoords='offset points', fontsize=9) + entry[metric + '_paired_percent'] = changes + entry[metric + '_median_percent'] = median + derived.append(entry) + for axis, title in zip(axes, ('Total CPU, including final flush', 'Work-only wall time, excluding final flush')): + axis.axhline(0, color=GREY, linestyle='--', linewidth=1) + axis.set_xticks(range(4), [f'depth {d}\n{hz} Hz' for d, hz in settings]) + axis.set(title=title, ylabel='Relative change to batched (%)') + axis.grid(axis='y', alpha=.2); axis.legend(fontsize=8, loc='upper left') + axis.margins(y=.3) + return fig, {'matched_rounds': 7, 'settings': derived} + + +def smoke(report, sources): + sources.add(report) + text = strip_block(report.read_text()) + value = re.search(r'\| Latency p50 / p95 / max \|([^|]+)', text)[1] + latency_values = [float(v) for v in re.findall(r'~([0-9.]+)', value)] + if len(latency_values) != 3: raise ValueError('Smoke sample rounded values not found') + fig, axes = plt.subplots(1, 2, figsize=(11, 4.8)) + bars = axes[0].bar(['p50', 'p95', 'max'], latency_values, color=GREY, width=.55) + axes[0].bar_label(bars, labels=[f'≈{v:g}' for v in latency_values], padding=4) + axes[0].set(ylabel='HTTP duration (ms)', title='Rounded values from Markdown sample') + axes[0].margins(y=.2); axes[0].grid(axis='y', alpha=.2) + axes[1].axis('off'); axes[1].text(.05, .85, 'Illustrative laptop wiring run\n\nNo raw k6 artifact is retained.\nNo A/B comparison.\nNo cloud capacity claim.\n\nValues retain their approximate precision.', va='top', linespacing=1.6) + return fig, {'approximate_latency_ms_from_markdown': latency_values} + + +def block(image, caption): + return f'\n{START}\n## Recorded results at a glance\n\n![Recorded results]({image})\n\n{caption}\n{END}\n' + + +def overview(sources): + pairs = [('FPM', '2026-11-06-overhead-depth48-cloud'), ('RoadRunner', '2026-11-07-overhead-rr-agent-depth48-cloud'), + ('Swoole', '2026-11-07-overhead-swoole-agent-depth48-cloud')] + fig, axes = plt.subplots(2, 3, figsize=(13, 7.5)) + data = {} + for index, (label, stem) in enumerate(pairs): + k = [metrics(REPORTS/stem/(arm+'-k6.json'), sources) for arm in ('baseline','on')] + latency(axes[0, index], [('Off',k[0],GREY),('On',k[1],BLUE)]) + axes[0, index].set_title(label) + stats = [read_csv(REPORTS/stem/(arm+'-fpm-stats.csv'), sources) for arm in ('baseline','on')] + for rows, arm, color in zip(stats, ('Off','On'), (GREY,BLUE)): + line(axes[1,index], rows, 'cpu_percent', arm, color) + axes[1,index].set(xlabel='Seconds since each arm began', ylabel='Container CPU % (100% = one core)') + axes[1,index].legend(fontsize=8) + data[label] = {arm:{p: item['http_req_duration'][p] for p in ('med','p(95)','p(99)')} for arm,item in zip(('off','on'),k)} + data[label]['cpu_samples'] = [len(rows) for rows in stats] + return fig, data + + +def soak_overview(sources): + paths = [('FPM','2026-11-07-soak-fpm-agent-depth48-cloud','app-fpm-stats.csv'), + ('RoadRunner','2026-11-08-soak-rr-agent-depth48-cloud','app-rr-stats.csv'), + ('Swoole','2026-11-07-soak-swoole-agent-depth48-cloud','app-swoole-stats.csv')] + fig, axes = plt.subplots(1, 3, figsize=(13, 4.7)) + data = {} + for ax,(label,stem,app) in zip(axes,paths): + series_data = [('App container',read_csv(REPORTS/stem/app,sources)),('Agent container',read_csv(REPORTS/stem/'app-agent-stats.csv',sources))] + origin=min(rows[0]['ts_unix'] for _,rows in series_data) + for (role,rows),color in zip(series_data,(BLUE,ORANGE)): + line(ax,rows,'mem_usage_bytes',role,color,2**20,origin,3600) + title=label+'\nworker-scoped profiler rerun' if label=='RoadRunner' else label + ax.set(title=title,xlabel='Hours since first observation',ylabel='Container memory usage (MiB)');ax.legend(fontsize=8) + data[label]={'samples':{role:len(rows) for role,rows in series_data},'hours':max((rows[-1]['ts_unix']-origin)/3600 for _,rows in series_data)} + return fig,data + + +def fingerprint(path): + content = strip_block(path.read_text()).encode() if path.suffix == '.md' else path.read_bytes() + return hashlib.sha256(content).hexdigest() + + +def main(): + parser=argparse.ArgumentParser();parser.add_argument('--check',action='store_true');args=parser.parse_args() + previous = json.loads((REPORTS/'plot-manifest.json').read_text()) if args.check else None + entries=[] + for report in sorted(REPORTS.glob('20*.md')): + stem=report.stem;directory=report.with_suffix('');sources=set() + if 'profile-shares' in stem: continue # already has its own complete experiment plot + if 'otel-callback-preflight' in stem: kind='research';fig,derived=research(directory,sources) + elif 'overhead' in stem: kind='overhead';fig,derived=overhead(directory,sources) + elif 'soak' in stem: kind='soak';fig,derived=soak(directory,sources) + elif any(k in stem for k in ('spool-pressure','chaos','rps-pipeline')): + kind=next(k for k in ('spool-pressure','chaos','rps-pipeline') if k in stem);fig,derived=queue(directory,sources,kind) + elif 'signal-weights' in stem:kind='weights';fig,derived=weights(directory,sources) + elif 'smoke-sample' in stem:kind='smoke';fig,derived=smoke(report,sources) + else: raise ValueError(f'No plotting method for {report}') + output=directory/'results.svg' + historical=kind not in ('weights','smoke') and stem[:10] < '2026-11-17' + title=f'{"Historical " if historical else ""}{kind.replace("-"," ").title()} · {runtime_name(stem) if kind not in ("weights","smoke","research") else "saved evidence"} · {stem[:10]}' + if kind=='research': + title='Deferred OTel callback research · seven matched rounds per setting' + footer='Deferred research, not product overhead or an RC commitment. Dots show all pairs; diamonds show paired medians.' + elif historical: + footer=historical_footnote() + elif kind=='weights': + footer='Exact event conservation only; not function-share accuracy or overhead.' + elif kind=='smoke': + footer='Illustrative rounded laptop sample, not a capacity result; no raw k6 artifact retained.' + else: + footer='Recorded measurements on the versions/configuration in the report; no universal performance claim.' + svg=finish(fig,output,title,footer,zero_baseline=kind!='research') + image=output.relative_to(report.parent).as_posix() + caption=('Historical saved measurements on the versions/configuration in this report; no current-version performance claim. ' + 'Lines connect recorded samples; gaps over three typical intervals are not connected.' if historical else footer) + if kind in ('soak','overhead'):caption+=' Memory is container usage from saved docker stats, not per-process RSS or proof of leak freedom.' + if kind=='research':caption+=' Comparisons use matching rounds; the median paired ratio is not the ratio of marginal medians.' + if kind=='spool-pressure':caption+=' Catch-up annotation comes from the saved restart measurement; no synthetic drain curve is added.' + targets=[(report,image)]+[(p,'results.svg') for p in directory.glob('*.md')] + entry={'report':report.relative_to(ROOT).as_posix(),'kind':kind,'image':output.relative_to(ROOT).as_posix(), + 'sources':{p.relative_to(ROOT).as_posix():fingerprint(p) for p in sorted(sources)},'derived':derived, + 'svg_sha256':hashlib.sha256(svg.encode()).hexdigest()} + if args.check: + if not output.exists() or output.read_text()!=svg:raise ValueError(f'Stale figure: {output}') + for target,url in targets: + if target.read_text()!=strip_block(target.read_text()).rstrip()+'\n'+block(url,caption):raise ValueError(f'Stale embedded plot: {target}') + else: + directory.mkdir(exist_ok=True);output.write_text(svg) + for target,url in targets:target.write_text(strip_block(target.read_text()).rstrip()+'\n'+block(url,caption)) + entries.append(entry) + for name,make,title,footer in [ + ('overhead',overview,'Historical overhead A/B · depth 48 · sampleRate 0.1 · 20 requests/s', + 'Core 0.1.0. Each panel is a separate A/B pair, not a runtime ranking. Host/configuration-specific.'), + ('soak-memory',soak_overview,'Historical completed 6h depth-48 soaks · Go-agent reader', + 'Core/agent 0.1.0. RR rerun after lifecycle fix. Container memory, not process RSS or proof of leak freedom.')]: + sources=set();fig,derived=make(sources);output=REPORTS/'overview'/(name+'.svg');svg=finish(fig,output,title,footer) + if args.check: + if output.read_text()!=svg:raise ValueError(f'Stale overview: {output}') + else:output.parent.mkdir(exist_ok=True);output.write_text(svg) + entries.append({'report':'README candidate','kind':name,'image':output.relative_to(ROOT).as_posix(), + 'sources':{p.relative_to(ROOT).as_posix():fingerprint(p) for p in sorted(sources)},'derived':derived, + 'svg_sha256':hashlib.sha256(svg.encode()).hexdigest()}) + manifest={'matplotlib':matplotlib.__version__,'figures':entries} + if args.check: + if manifest!=previous:raise ValueError('Plot provenance manifest differs') + else:(REPORTS/'plot-manifest.json').write_text(json.dumps(manifest,indent=2)+'\n') + print(f'{"Verified" if args.check else "Rendered"} {len(entries)} figures; source files and report numbers unchanged') + + +if __name__=='__main__':main()