feat(ci): benchmark a startup floor alongside every shard#678
Merged
Conversation
This was referenced Jul 15, 2026
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.
Closes #677. 2/3 — picks up FerrLabs/Benchmarks#173; the chart is FerrLabs/FerrFlow-Cloud.
Adds
benchmarks/fixtures/definitions/floor.json: 1 package, 1 commit since the last tag, with the sametool_configsassingleso every tool runs its normal command down its normal code path. That median is each tool's fixed cost of being invoked at all — process spawn, runtime boot, module loading, config resolution — and the action subtracts it to publishwork_msnext tomedian_ms.The floor rides along in every shard rather than being a shard of its own. Startup is a property of the runner, and shards land on different machines — subtracting one shard's floor from another's total would measure the hardware gap instead of the work. It costs one extra tiny fixture per shard (1 commit), which is noise next to
mono-large.--versionis not the floor, though it looks like one: it skips the lazyrequires the real command pulls in, undercounting startup by ~286 ms forcommit-and-tag-versionand billing the difference as their work. That error flatters us, which is why the floor runs the real command.median_msstays the headline and is untouched — startup is real time the user waits. Same rule as--jobs 1vsferrflow_paralleland cold vsferrflow_cached: our nuances go in separate stats, never the score.Expect the first run after this to add
startup_ms/work_msto every cell. The site renders them in the third PR; until then the payload just carries them.