Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/changepoint/detector |
| 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.34 µs(+2.57%)Baseline: 5.20 µs | 5.50 µs (97.02%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.21 µs(+3.32%)Baseline: 5.04 µs | 5.33 µs (97.66%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 26.66 µs(-0.62%)Baseline: 26.83 µs | 28.63 µs (93.15%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.58 µs(+2.39%)Baseline: 4.47 µs | 4.69 µs (97.65%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.56 µs(+2.12%)Baseline: 4.46 µs | 4.69 µs (97.25%) |
epompeii
force-pushed
the
u/ep/changepoint/detector
branch
from
December 1, 2026 23:03
6bc4b86 to
1eac85d
Compare
|
| Project | Bencher |
| Branch | u/ep/changepoint/detector |
| 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.46 µs(+4.84%)Baseline: 5.20 µs | 5.50 µs (99.17%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.32 µs(+5.58%)Baseline: 5.04 µs | 5.33 µs (99.79%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 7.81 µs(-70.89%)Baseline: 26.83 µs | 28.63 µs (27.28%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.58 µs(+2.39%)Baseline: 4.47 µs | 4.69 µs (97.65%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.57 µs(+2.40%)Baseline: 4.46 µs | 4.69 µs (97.51%) |
epompeii
force-pushed
the
u/ep/changepoint/detector
branch
from
December 2, 2026 23:06
1eac85d to
70b7041
Compare
This branch was previously 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.
The changepoint detector runs Otava over each line a threshold's changepoint model watches, after every report that adds to the line, and keeps the changepoint table in step with what it finds. A step is held as a candidate until as many consecutive scans as the model's
confirmationsfind it, then it is active and its numbers are frozen. A step that later moves or vanishes is withdrawn. Changepoint detection is a Bencher Plus feature.What changes
valuewhen it names none.max_sample_sizeand the p value threshold itssignificance. A line with fewer points thanmin_sample_sizeis not analysed. Each side the model guards runs its own pass, with that side's boundary as the minimum magnitude, and keeps only the steps in its own direction: an upper boundary keeps increases, a lower one decreases. A side with no boundary runs no pass.confirmationsmakes it active with that scan's numbers. A model that takes 1 confirmation inserts an active changepoint at once.Tests
lib/bencher_schema/src/model/project/threshold/changepoint_scan.rscovers, on seeded lines: a step that is a candidate for 4 scans and active at the 5th, and confirmation at the model's own count; a newest point that jumps, held as a candidate; a candidate that vanishes; a confirmed step that moves, vanishes, or moves away and returns; a dismissed or silenced step found again; a step below and above a start point; a head replaced while its line is queued; a rerun of an old commit; a threshold that no longer holds the model during the analysis; each guarded side and its own boundary; the median, the spec, and the head a point reads; both read orders;min_sample_size; and the refusal and log of statistics that cannot be stored.lib/bencher_schema/src/context/changepoints.rscovers the task: a report that hands its lines over without waiting, a line queued twice scanned once, a slow scan that leaves the runtime to its other tasks, a panic, and shutdown at each step with nothing written.lib/api_projects/tests/changepoints.rscovers a report that hands its watched lines to the scan through the API.This change and the two below it merge together.