Skip to content

chore(ci): benchmark pipeline and reintroduce caching improvements #18

Closed

Description

@pimlock

Context

We are intentionally shipping macOS wheel build support first and deferring cache optimization changes to a follow-up. This issue tracks the benchmarking + A/B comparison so we can quantify impact before and after reintroducing caching improvements.

Plan

  1. Merge MR !30 as the baseline (no additional cache optimizations).
  2. Capture baseline timing from 3-5 comparable pipelines (same runner class and similar workload window).
  3. Implement caching improvements in a separate MR.
  4. Capture post-change timing from 3-5 comparable pipelines.
  5. Compare medians and decide whether to keep/tune/revert cache changes.

Metrics to Collect

  • Per-job median duration for:
    • build_ci_image
    • lint
    • rust_test
    • python_test
    • publish_main_artifacts / publish_tag_artifacts (for release/main runs)
  • Overall pipeline median duration.

Acceptance Criteria

  • Baseline and post-change measurements are documented.
  • Comparison uses the same runner architecture/class.
  • Follow-up MR includes before/after summary and recommendation.

Originally by @pimlock on 2026-02-17T21:22:57.862-08:00

Activity

  1. pimlock commented on Feb 27, 2026

    @pimlock
    CollaboratorAuthor

    Image-build-only baseline note (excluding all non-image jobs):

    • Old job name in history is publish_ecr_images (not publish_ecr_containers).
    • New job name is publish_main_artifacts.

    Recent comparison around the wheel transition on main:

    Pipeline Commit Job Duration
    44235960 556c324 publish_main_artifacts 30m34s
    44224791 3ce1115 publish_main_artifacts 40m03s
    44213204 ae70fbb publish_ecr_images 16m00s
    44176076 e41a665 publish_ecr_images 14m26s

    Quick delta:

    • New (2-pipeline avg): 35m18s
    • Old (2-pipeline avg): 15m13s
    • Difference: +20m05s (~2.32x)

    This isolates only the image/publish job path and excludes lint/test/e2e timing.


    Originally by @pimlock on 2026-02-17T21:31:30.640-08:00

  2. added 2 commits that reference this issue on Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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