Skip to content

perf: benchmark numeric stdlib - #59

Merged
tiye merged 2 commits into
feat/qtest-selectionfrom
perf/stdlib-benchmarks
Aug 22, 2026
Merged

perf: benchmark numeric stdlib#59
tiye merged 2 commits into
feat/qtest-selectionfrom
perf/stdlib-benchmarks

Conversation

@tiye

@tiye tiye commented Aug 22, 2026

Copy link
Copy Markdown
Member

Summary

  • define RFC 0116 for numeric standard-library benchmark coverage
  • add stdlib-abs, stdlib-sum, stdlib-min-max, and stdlib-range-sum to qbench and cargo bench --bench core
  • extend the machine-readable workload guard and record reproducible samples in PERFORMANCE.md

Validation

  • cargo run --locked --release --bin qbench -- --json --iterations 1 --repeat 1
  • cargo bench --locked --bench core
  • make check

This PR is stacked on PR #58 and is intentionally not merged independently.

Copilot AI lite review requested due to automatic review settings August 22, 2026 17:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands benchmark coverage for the RFC 0113 numeric standard library by defining RFC 0116 and adding four matching workloads to both qbench and cargo bench --bench core, with accompanying CLI guard assertions and performance documentation updates.

Changes:

  • Added stdlib-abs, stdlib-sum, stdlib-min-max, and stdlib-range-sum workloads to qbench and the core bench runner.
  • Extended the CLI test that validates machine-readable qbench --json workload enumeration (and --list output).
  • Documented the new workloads, reproducibility commands, and sample measurements; updated RFC scope references.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/cli_tools.rs Extends the expected qbench workload name list to include the four new stdlib workloads.
src/bin/qbench.rs Adds four numeric stdlib workloads to the qbench workload registry with expected values.
benches/core.rs Adds the same four workloads to cargo bench --bench core, including iteration counts.
RFCs/0116-stdlib-benchmark-coverage.md Introduces RFC 0116 specifying benchmark coverage/acceptance criteria for numeric stdlib workloads.
RFCs/0000-project-scope.md Updates the “implemented RFCs” upper bound to RFC 0116.
README.md Updates the documented RFC coverage range to include RFC 0116.
PERFORMANCE.md Documents the new workloads, reproduction commands, and records sample benchmark results.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread RFCs/0116-stdlib-benchmark-coverage.md Outdated
@tiye
tiye force-pushed the feat/qtest-selection branch from 3953914 to a0f92c4 Compare August 22, 2026 17:45
@tiye
tiye force-pushed the perf/stdlib-benchmarks branch from b9240d6 to 1e7326e Compare August 22, 2026 17:46
@tiye
tiye merged commit aaa787e into feat/qtest-selection Aug 22, 2026
4 checks passed
@tiye
tiye deleted the perf/stdlib-benchmarks branch August 22, 2026 17:48
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.

2 participants