Skip to content

ci(measure): time rvt-ifc at both refs on one runner, and say which runners the wall times came from (B81) - #699

Merged
DrunkOnJava merged 2 commits into
mainfrom
ci/b81-same-runner-timing
Oct 5, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
ci/b81-same-runner-timing

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

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.

  • The cross-runner table now names each side's CPU (runner.txt in each artifact, left out of the scorer diff) and says what the numbers are.
  • A new timing input adds a job, Timing (one runner). It builds rvt-ifc at both refs on one runner, exports every model (and every sample, with samples) with each build in turn, and reports the medians and their ratio in the run summary and the measure-timing artifact (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.
  • CONTRIBUTING says when to use it.

Verified by dispatching this branch's workflow with timing: #695 against main (run 37245443309), and main against 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.txt is excluded from the scorer diff.

A new workflow input timing (when base ≠ none) adds a Timing (one runner) job that checks out head and base, builds rvt-ifc at both refs, and runs tools/ci/measure-timing.sh: three alternating export rounds per model (and samples when samples=true), median ms per ref, head/base ratio in the run summary and measure-timing artifact.

CONTRIBUTING documents using -f timing=true for defensible performance claims instead of the default cross-runner table.

Reviewed by Cursor Bugbot for commit 4f95586. Configure here.

…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).
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Verified with this branch's workflow and -f samples=true -f timing=true:

  • Noise check. main against itself on one runner (run 37245395447): 45 of 50 files within ±1%, all between 0.97 and 1.04. The same pair of commits on two runners has read up to about 1.7x apart.
  • perf(partitions): a data object's Adler-32 is summed in place with SIMD (B80) #695 against main (run 37245443309). The files that never reach the data-object scan (Revit 2016 to 2023) read 0.96 to 1.00. The 2024 to 2027 files read 0.27 to 0.84, for example:
file main (ms) #695 (ms) ratio
2025 rme_advanced 13136 9601 0.73
2026 rme_basic 10732 6600 0.61
2027 rme_advanced 6561 1936 0.30
Core Interior 4939 3206 0.65

The job takes the Measure jobs' time again, as it builds two refs; it only runs when timing is set.

@DrunkOnJava
DrunkOnJava merged commit ebf0488 into main Oct 5, 2026
30 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/b81-same-runner-timing branch October 5, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant