Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adjust proguard caching #1492

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

loewenheim
Copy link
Contributor

@loewenheim loewenheim commented Jul 4, 2024

  • Previously there wasn't much point sharing proguard files via the shared cache because we were downloading them exclusively from Sentry anyway. But now we don't use actual proguard files anymore, we compute cache files from them and use those. So it makes sense to share the cache files between Symbolicators.
  • For the same reason we wanted a very large in-memory cache for proguard files. Since ProguardCache files have a small (on the order of dozens of bytes) constant size, this is not necessary and we can simply use the same logic as for Symcaches.

There wasn't much point sharing proguard files via
the shared cache because we were downloading them
exclusively from Sentry anyway. But now we don't use
actual proguard files anymore, we compute cache files
from them and use those. So it makes sense to share
the cache files between Symbolicators.
@loewenheim loewenheim marked this pull request as ready for review July 4, 2024 12:55
@loewenheim loewenheim requested a review from a team July 4, 2024 12:55
@loewenheim loewenheim self-assigned this Jul 4, 2024
@loewenheim loewenheim changed the title feat: Enable shared cache for proguard feat: Adjust proguard caching Jul 4, 2024
@loewenheim loewenheim merged commit 2514487 into master Jul 4, 2024
12 checks passed
@loewenheim loewenheim deleted the feat/proguard-shared-cache branch July 4, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants