Skip to content

bench: add zccache store to bench/fastled-examples actions/cache path list #151

Description

@zackees

Problem

The current bench/fastled-examples workflow caches:

path: |
  ~/.fbuild
  ~/.fastled/global_cache
  fastled/.build/pio/\${{ env.BENCH_BOARD }}

It does not cache zccache's per-TU object store. Iter3 warm run (24626590831) confirmed this is load-bearing: 304 MB restored, per-example compile time unchanged vs cold.

Sub-task of #147. Blocked by #149 (need the canonical path from the setup action).

Fix

Once #149 lands and the setup action outputs zccache-store-path:

- name: \"Phase - restore compile cache\"
  uses: actions/cache/restore@v4
  with:
    path: |
      ~/.fbuild
      ~/.fastled/global_cache
      \${{ steps.fbuild-setup.outputs.zccache-store-path }}  # ← add
      fastled/.build/pio/\${{ env.BENCH_BOARD }}
    key: bench-v3-...  # bump version prefix for a clean iter4

Bump CACHE_BUST in bench.config to force iter4 cold, then empty-commit warm rerun. Expected: warm compile drops meaningfully below cold for the first time on this benchmark.

Related

Activity

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

    enhancementNew feature or requestpriority: p2Valuable later follow-up after core path is working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions