Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/changepoint/table |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.35 µs(+2.92%)Baseline: 5.20 µs | 5.49 µs (97.51%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.21 µs(+3.35%)Baseline: 5.04 µs | 5.32 µs (97.91%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 26.63 µs(-0.79%)Baseline: 26.84 µs | 28.65 µs (92.94%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.57 µs(+2.29%)Baseline: 4.47 µs | 4.68 µs (97.67%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.56 µs(+2.12%)Baseline: 4.46 µs | 4.68 µs (97.34%) |
epompeii
force-pushed
the
u/ep/changepoint/table
branch
from
December 1, 2026 23:03
9851796 to
33d77cb
Compare
epompeii
force-pushed
the
u/ep/changepoint/table
branch
from
December 2, 2026 23:06
33d77cb to
9fdbfa1
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changepoints get a table of their own, a list, a view, and a status change. A changepoint is a version at which a line stepped, judged against a threshold's changepoint model. It is held as a candidate, which no user sees, until enough consecutive scans confirm it; then it is active, and a user may dismiss it. This change stores and serves changepoints and gives the detector the functions it writes them with; it detects nothing itself. The endpoints, the CLI commands, and the detector functions are Bencher Plus only; the migration runs on every server.
What changes
changepointtable. Its line is the head, testbed, spec, benchmark, variant, measure, and metric name: the variant makes one series of the many a threshold's parameters match, and the spec means a testbed moved to new hardware starts a new line. Each row names the version the step lands on, the threshold and the changepoint model it was judged against, what was measured (mean_before,mean_after,stddev_before,stddev_after,pvalue,tstatistic,degrees_of_freedom), its status,created, andmodified. It goes with its project, version, benchmark, or variant; a deleted spec leaves it with no spec; and its head, testbed, measure, threshold, and model stay while it stands, as a boundary holds them. Indexes serve the list by project, status, andmodified, the read of one line, and every foreign key.changepoint_scantable keeps what each scan measured, up to the one that confirmed the changepoint. A candidate holds its latest scan's numbers; a confirmed changepoint holds its confirming scan's, and they never change after.candidate,active,dismissed,silenced, andwithdrawn. A candidate is never served: it is never listed, even with a filter, and its view and its status change are a 404.GET /v0/projects/{project}/changepointslists one status,activeby default, newestmodifiedfirst, with filters forstatus,branch,testbed,benchmark,measure, andarchived, a sort bycreatedormodified, paging, andX-Total-Count.GET /v0/projects/{project}/changepoints/{changepoint}serves one changepoint with itsscans, oldest first. The list serves none.PATCH /v0/projects/{project}/changepoints/{changepoint}moves a changepoint betweenactiveanddismissed, both ways. A silenced or withdrawn changepoint refuses with a 400 that names its status.percent_changefrom the means (0 when the mean before is 0, and absent when it is not finite), the status,created, andmodified.tstatisticis absent when it is infinite, as it is between 2 constant sides.view, and a status change needseditor a project key.silencedwith a newmodified, and its candidates are deleted. A dismissed, silenced, or withdrawn changepoint keeps its status andmodified.bencher_schema: insert a candidate, count a scan, confirm, withdraw an active changepoint (never a dismissed or silenced one), and delete a candidate. No function rewrites the measured fields of a confirmed changepoint.bencher changepoint list,view, andupdate, which mirrorbencher alert.listtakes--status,--branch,--testbed,--benchmark,--measure,--archived, and the usual paging and sort;updatetakes--status activeor--status dismissed.Tests
lib/api_projects/tests/changepoints.rscovers the list's default, each status filter, the other filters, the sort, and paging; that a candidate is never listed, viewed, or changed; the view and its scans; the status change both ways and its refusals; the permissions; a project's isolation; the head replacement through a branch reset; the candidates a threshold update, a report, a reset, a clone, and a threshold delete delete; that every delete leaves no changepoint pointing nowhere; and the migration down and up. Unit tests inbencher_schemacover each detector function, the frozen numbers of a confirmed changepoint, the head replacement, and the percent change, and the CLI has parse tests for each command.Nothing writes a changepoint until the detector in the change above. This change merges with the changes above and below it.