Compare benchmark top lists using median ops/s - #188
Merged
Conversation
Top Regressions and Top Improvements were ranking cases by tinybench mean throughput. Record p50 and use that for per-case deltas so the lists match the median comparison signal. Co-authored-by: Seiya KONNO <nulltask@gmail.com>
Co-authored-by: Seiya KONNO <nulltask@gmail.com>
nulltask
marked this pull request as ready for review
August 23, 2026 09:10
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
be-music-player-demo | 48067d5 | Commit Preview URL Branch Preview URL |
Aug 23 2026, 09:11 AM |
Exports Benchmark
Summary
Top Regressions
Top Improvements
|
nulltask
added a commit
that referenced
this pull request
Aug 23, 2026
…-3565 Compare benchmark top lists using median ops/s
nulltask
added a commit
that referenced
this pull request
Aug 23, 2026
…-3565 Compare benchmark top lists using median ops/s
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.
Top Regressions and Top Improvements were ranking cases by tinybench mean throughput (
hz=throughput.mean). The overall verdict already used the median of those mean-based deltas, so the per-case lists still highlighted mean-sensitive outliers.This change records tinybench p50 as
medianHz/p50Msand uses median ops/s for per-case comparison.convertTaskResultnow stores mean and median throughput separatelycompareSnapshotsand the Top lists use median ops/s (falling back to meanhzon older snapshots)No package changeset: this is bench-script tooling only.