Skip to content

chore(benchmarks): trim ~297 MB of all-zero samples arrays (no bloat) - #79

Merged
Nan0pk merged 11 commits into
mainfrom
trim/benchmark-results-bloat
Jun 14, 2026
Merged

chore(benchmarks): trim ~297 MB of all-zero samples arrays (no bloat)#79
Nan0pk merged 11 commits into
mainfrom
trim/benchmark-results-bloat

Conversation

@Nan0pk

@Nan0pk Nan0pk commented Jun 14, 2026

Copy link
Copy Markdown
Owner

What

For each benchmarks/results/2026-06-14/fedora/<class>/psi-{cpu,io}.json (10 files):

  • Set samples to null (was 4.4M–4.5M all-zero entries; no analytic value)
  • Add meta block documenting the trim (samples_trimmed_at, samples_trimmed_reason, original_samples_len)
  • Preserve all energy-gate evidence: power_source, counter, avg_watts, median, p95, iqr, anomalies, class_*

Why

Each psi record carries ~30 MB of all-zero samples arrays (4.4M–4.5M entries × 0). Summary stats (median/p95/iqr) already capture the same information. HUMAN decision 2026-06-15: yes-trim, no-bloat.

Size impact

311 MB → ~12 KB across 10 psi records (99.96% reduction).

Out of scope

All-zero samples sampler bug — separate follow-up issue (caution #3 of WP-ENERGY-PROBE verdict). Investigating why the sampler writes zeros belongs in its own PR with proper repro on victus.

ENERGY gate (SPEC §6)

Closure is unchanged — energy evidence is in power_source / energy fields, not in samples. PR #75 (f60789d) merge is the gate-clear event; this PR is housekeeping only.

Refs: WP-ENERGY-PROBE verdict caveats #2 (bloat) + #3 (sampler bug).

@Nan0pk
Nan0pk merged commit 4eabb42 into main Jun 14, 2026
4 checks passed
@Nan0pk
Nan0pk deleted the trim/benchmark-results-bloat branch June 14, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant