Repository navigation
Conversation
4 tasks done
3 of 6 tasks
ashhart
force-pushed
the
lead/ci-test-times
branch
from
November 5, 2026 09:32
b6ecbed to
3df36dc
Compare
ashhart
marked this pull request as ready for review
November 5, 2026 09:37
ashhart
force-pushed
the
lead/ci-test-times
branch
from
November 5, 2026 11:11
3df36dc to
d03dd6f
Compare
ashhart
force-pushed
the
lead/ci-test-times
branch
3 times, most recently
from
November 5, 2026 12:27
8cdba5d to
d858e75
Compare
…ts every runner A compile's cache key carries its CPU, and host code compiles for the runner's own. GitHub's runners differ, so a restored cache missed nearly every compile unless the runner drew the CPU main's last save ran on. In one probe on a small target, with four different CPUs among the Linux runners, 1 of 4 restored jobs hit on Linux and 0 of 4 on Windows. With -Dfixed-cpu, which compiles host code for x86_64_v3, all 8 hit, in 2-7 s instead of 108-263 s. This removes the ZIG_GLOBAL_CACHE_DIR setting #2140 added. It does nothing on CI: setup-zig already puts the global cache inside .zig-cache and overrides it, so the reason that commit gave for the misses was wrong. The key moves to v3, so main starts from an empty cache rather than keeping builds for each runner's own CPU alongside the new one.
These two jobs only compile, so a warm cache saves most of their time. Pull requests saved their own caches, which no other pull request can read and which filled the budget, and setup-zig emptied any past 2 GiB. macOS waited longest for a runner: 10 minutes at the median and 39 at p90, then 13 to run (5 Nov, 63 pull request runs). They now do as zig and zig-windows do: main saves, and a pull request restores main's newest and saves nothing.
ashhart
force-pushed
the
lead/ci-test-times
branch
2 times, most recently
from
November 5, 2026 14:24
8862f0a to
7c4e957
Compare
ashhart
force-pushed
the
lead/ci-test-times
branch
from
November 5, 2026 14:36
7c4e957 to
b090bae
Compare
Owner
Author
|
Done: results are on #2242. This was only ever a measurement. |
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.
A measurement only, closed when it reports. It's out of draft only because queued runs on draft pull requests get cancelled. See #2140.