镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Do compilation on GitHub-hosted runners, transfer as artifacts to self-hosted runners for benchmarking #446

Open

Description

@mdboom

By using GitHub-hosted runners for compilation, we may get better overall throughput and shorter wait times for developers when a bunch of PRs are queued.

Another potential advantage here is that the setup of toolchains will only be required in the compiling action runner, hopefully making the benchmarking runners just "vanilla" installs of their respective OSes and therefore easier to spin up.

We should confirm whether this fits in our free allowance provided to private projects (2,000 min/month, 500MB of storage for artifacts).

We will also need to keep the "single Python command to do everything" refactor working for non-Github-Action-based environments.

Credit for the idea goes to @brandtbucher.

Activity

  1. self-assigned this
    on Jun 12, 2025
  2. mdboom commented on Jun 12, 2025

    @mdboom
    ContributorAuthor

    Looking at the last full month, the back of the napkin math is that this would take 5,275 "adjusted minutes" which is a lot more than the 2,000 we get for free. Of course, last month isn't representative of what we will experience going forward (especially talking about what happens if we unleash this on a bunch of new core devs).

    (Here "adjusted minutes" means Windows is 2x and macOS is 10x per GitHub's pricing).

    It's still probably worth experimenting with this and then turning this on or off based on how the new system is utilized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions