Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Improve CircleCI caching #12322

Closed
Closed

Description

@jfirebaugh

Our caching strategy on CircleCI could be more effective.

  • Split up ccache, node_modules, and mason_packages into separate caches with different keyspaces.
  • Refresh the ccache key more often. The cache for the master branch refreshes once a week, so quickly becomes outdated. As a comparison, this master branch build took 27 minutes with an 11% ccache hit rate, while this build on a branch off the same commit took 18 minutes with a 74% hit rate, just by virtue of having a fresher cache. Maybe we could even use a key for the master branch that refreshes on every revision.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions