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: Introduce ProguardCache format #42

Merged
merged 24 commits into from
Jul 3, 2024
Merged

feat: Introduce ProguardCache format #42

merged 24 commits into from
Jul 3, 2024

Conversation

loewenheim
Copy link
Contributor

This is a stable binary format similar to symcache. It has the exact same features as ProguardMapper, but doesn't need to be loaded into memory. I haven't tested performance yet.

There's also a bit of duplication, and some functions just refer to the mapper module.

@loewenheim loewenheim requested a review from a team July 1, 2024 16:48
@loewenheim loewenheim self-assigned this Jul 1, 2024
Copy link
Member

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is some impressive work! 🎉

Cargo.toml Show resolved Hide resolved
benches/proguard_mapping.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/java.rs Show resolved Hide resolved
src/cache/raw.rs Outdated Show resolved Hide resolved
src/cache.rs Outdated Show resolved Hide resolved
src/cache.rs Outdated Show resolved Hide resolved
src/cache.rs Outdated Show resolved Hide resolved
src/cache.rs Outdated Show resolved Hide resolved
src/cache.rs Outdated Show resolved Hide resolved
src/cache/mod.rs Outdated Show resolved Hide resolved
src/cache/mod.rs Outdated Show resolved Hide resolved
@loewenheim loewenheim requested a review from Swatinem July 3, 2024 11:31
@loewenheim loewenheim merged commit 60a5ea7 into master Jul 3, 2024
5 checks passed
@loewenheim loewenheim deleted the feat/cache branch July 3, 2024 14:06
loewenheim added a commit to getsentry/symbolicator that referenced this pull request Jul 4, 2024
Based on getsentry/rust-proguard#42.

This should significantly increase proguard processing performance by eliminating the time it takes to parse proguard files, at a slight cost to remapping itself.
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