Skip to content

Measure known-function wall-time share accuracy in Pyroscope #4

Closed

Description

@bbik52

Add a separate signal-share probe, without rerunning the completed total-weight conservation campaign or touching the running 72h soak.

Predeclared design:

  • Real CLI sequential UoW, real Excimer and Go-agent delivery to an isolated live Pyroscope.
  • PHP/PHP 70:30 and 20:80, plus PHP/usleep 70:30; 100 Hz and 1000 Hz; three deterministic jittered repetitions per cell.
  • Independent expected shares from hrtime measurements around marked function calls, rather than nominal requested durations or the profiler's own samples.
  • At least 40 s/case at 100 Hz and 12 s/case at 1000 Hz; weighted observations must meet predeclared floors.
  • Every run must meet <=5 percentage-point absolute share error and a small unclassified-weight bound. Publish every run, not a selected passing subset.
  • Read actual backend stack weights, not just source profiles. Include a swapped-symbol negative control that preserves total weight but must fail share validation.
  • Record exact revisions, runtime/image identities, seeds, configuration, raw oracle/readback and limitations. No universal accuracy, overhead, FPM/RR/Swoole or release-candidate certification is implied.

Use the current benchmarks main workflow and prepare a PR; maintainer reviews and merges.

Result — 2026-11-18

PR #5 is open against main at ad4320e. All 18 predeclared cases pass: maximum error 1.044 pp, median 0.066 pp, maximum unclassified weight 0.183%. All 18 total-preserving swapped-symbol controls are rejected. Source and backend phase weights match exactly. Full manifest, per-cycle oracle and raw Pyroscope readback are retained; no selected passing subset.

Measured core 37e5928506cee2b1c395c2c8d01e89f2bf43a6b8, agent a15f0d310ba6d5942e67b37d3c3c55dc1b3b8100, PHP 8.5.12, Excimer 1.2.7, Pyroscope 2.4.3. All 30 Python tests and applicable local syntax/Compose/diff checks pass; GitHub Checks pass, no review threads outstanding. No production code or CI workflow changes. No contact with the 72h soak VPS.

This is selected CLI wall-time evidence on recorded develop snapshots, not final-RC certification or coverage of CPU mode/FPM/RR/Swoole. Issue remains open pending maintainer review/merge.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions