summaryrefslogtreecommitdiff
path: root/internal/statsengine
AgeCommit message (Collapse)Author
2026-05-12add DefaultTopN constant to statsengine and replace hard-coded 64 capacity ↵Paul Buetow
values Introduces statsengine.DefaultTopN = 64 as the canonical named constant for the top-N capacity used when constructing an Engine. Removes the local defaultEngineCapacity constant from runtime_builder.go and updates all call sites to reference statsengine.DefaultTopN instead of bare 64. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12refactor: split Snapshot in statsengine to comply with 50-line limitPaul Buetow
Extract captureSnapshotInputs (lock-guarded state copy), buildSubSnapshots (concurrent per-category builders), and populateSnapshotFields (scalar field assignment) from the monolithic Snapshot method. The method itself is now 18 lines; all three helpers are well under 30 lines each. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08add duration metric, tolerate missing tracepoints, ship el8 buildPaul Buetow
- Bubbles, treemap, icicle, and the live flamegraph 'b' cycle now include syscall duration (sum) as a third metric alongside events and bytes. Statsengine snapshots expose TotalLatencyNs to support this. - AttachAll takes an optional warn callback. Production passes one so older kernels that lack newer tracepoints log a warning and keep going instead of aborting startup. - Dockerfile.el8 + scripts/build-with-docker-el8.sh + mage buildDockerEl8 produce ior.el8, a static binary built against Rocky Linux 8 glibc for RHEL/Rocky/Alma 8 hosts. - README.md documents installing mage and the new el8 target.
2026-03-18cleanupPaul Buetow
2026-03-08tests: remove sleep-based waits in tui and runtime testsPaul Buetow
2026-03-05Normalize Go import grouping with local ior sectionPaul Buetow
2026-03-05Add package-level docs across internal packagesPaul Buetow
2026-02-25Fix stream paused scrolling and apply pending TUI/probe updatesPaul Buetow
2026-02-25Parallelize snapshot builders in stats enginePaul Buetow
2026-02-24statsengine: deduplicate topN helpers with genericsPaul Buetow
2026-02-24statsengine: add top-n snapshot helpers for overviewPaul Buetow
2026-02-24statsengine: compact process accumulator at high cardinalityPaul Buetow
2026-02-24statsengine: cache syscall percentiles between snapshotsPaul Buetow
2026-02-24statsengine: build snapshots outside engine mutexPaul Buetow
2026-02-24statsengine: stop cloning snapshot accessors on readsPaul Buetow
2026-02-24tui: address review feedback for dashboard and exportPaul Buetow
2026-02-23task 302: add stats engine orchestration and snapshotsPaul Buetow
2026-02-23task 303: add per-process accumulator with pid-reuse guardPaul Buetow
2026-02-23task 303: add fixed-bucket log-scale histogramPaul Buetow
2026-02-23task 305: add top-N file ranker with bounded cardinalityPaul Buetow
2026-02-23task 305: add per-syscall accumulator with reservoir percentilesPaul Buetow
2026-02-23task 305: add ring time series with wrap-around and gap testsPaul Buetow
2026-02-23task 304: harden snapshot immutability after sub-agent reviewPaul Buetow
2026-02-23task 304: add immutable statsengine snapshot typesPaul Buetow