Repository navigation
ci(measure): time rvt-ifc at both refs on one runner, and say which runners the wall times came from (B81) - #699
Merged
Merged
Conversation
…unners the wall times came from (B81) Measure's base and head jobs run on different runners, and in the B80 runs runner speed alone moved an export's time by up to about 1.7x (a no-op change read 1.6x slower on every file in run 37244582476). The wall-time table #687 added compared machines as much as code. The table now names each side's CPU and says so. A new `timing` input adds a job that builds rvt-ifc at both refs on one runner and exports every model, and every sample with `samples`, with each in turn, three rounds whose order alternates, and reports the medians and their ratio (tools/ci/measure-timing.sh).
Owner
Author
|
Verified with this branch's workflow and
The job takes the Measure jobs' time again, as it builds two refs; it only runs when |
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.
Measure's base and head jobs run on different runners. In today's B80 runs, runner speed alone moved an export's time by up to about 1.7x: run 37244582476 read a change that adds no work in the default export as 1.6x slower on every file, the architecture samples included. So the wall-time table #687 added compares machines as much as code.
runner.txtin each artifact, left out of the scorer diff) and says what the numbers are.timinginput adds a job,Timing (one runner). It buildsrvt-ifcat both refs on one runner, exports every model (and every sample, withsamples) with each build in turn, and reports the medians and their ratio in the run summary and themeasure-timingartifact (tools/ci/measure-timing.sh). That is three rounds per file, the order alternating each round so a drift in the runner's speed falls on both alike. A file either build fails to export is reported as failed, not timed.Verified by dispatching this branch's workflow with
timing: #695 againstmain(run 37245443309), andmainagainst itself as a noise check (run 37245395447). The results follow in a comment.Note
Low Risk
CI and contributor docs only; no changes to rvt-ifc or export logic.
Overview
Cross-runner rvt-ifc wall times in the Measure compare summary are now labeled as coming from two different runners, with each artifact carrying
runner.txt(CPU model from/proc/cpuinfo) and copy that warns runner speed alone can skew times by ~1.7x;runner.txtis excluded from the scorer diff.A new workflow input
timing(whenbase≠none) adds a Timing (one runner) job that checks out head and base, buildsrvt-ifcat both refs, and runstools/ci/measure-timing.sh: three alternating export rounds per model (and samples whensamples=true), median ms per ref, head/base ratio in the run summary andmeasure-timingartifact.CONTRIBUTING documents using
-f timing=truefor defensible performance claims instead of the default cross-runner table.Reviewed by Cursor Bugbot for commit 4f95586. Configure here.