Skip to content

Multiple percentile retrievals in single pass - #4

Merged
mwsis merged 15 commits into
synesissoftware:devfrom
mwsis:multip
Aug 4, 2026
Merged

Multiple percentile retrievals in single pass#4
mwsis merged 15 commits into
synesissoftware:devfrom
mwsis:multip

Conversation

@mwsis

@mwsis mwsis commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator
  • batch percentile queries — p99_histogram_values_at_percentiles and p99_histogram_values_at_fixed_percentiles, with result types p99_pr_fp_result_t and p99_pr_fixed_results_t (80-byte fixed set);
  • single-pass bucket walks for both batch APIs (fixed integer ranks and floating-point levels resolved in one cumulative scan);
  • sequential semantics for p99_histogram_values_at_percentiles — levels should be ascending; a later target rank not greater than an earlier one receives the earlier result;
  • benchmarks for batch percentile retrieval; unit tests including non-monotonic level order;
  • ABI.md and README.md updated for new types and symbols;
  • public header reorganised (types before functions; nested section banners);

@mwsis mwsis self-assigned this Jul 6, 2026
@mwsis
mwsis requested a review from Hazzoz August 1, 2026 00:01
@mwsis
mwsis changed the base branch from master to dev August 4, 2026 09:44
@mwsis
mwsis merged commit 4f69ca4 into synesissoftware:dev Aug 4, 2026
11 checks passed
@mwsis
mwsis deleted the multip branch August 4, 2026 09:46
mwsis added a commit that referenced this pull request Aug 4, 2026
* added multiple-percentile retrieval benchmarks

* prep

* add batch percentile APIs; single-pass walk for fixed percentiles (0.2.0-alpha1)

* single-pass `p99_histogram_values_at_percentiles()` with shared interpolation helper

* README, etc.

* fix

* hiding release reminder when in release

* squash-commit

* squash-commit

* squash-commit

Co-authored-by: Matt Wilson <152443343+mwsis@users.noreply.github.com>
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.

4 participants