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

Compact strings in CC report via shared dictionary #28447

Closed
wants to merge 1 commit into from

Conversation

alllex
Copy link
Member

@alllex alllex commented Mar 13, 2024

Uses a trivial compacting approach by replacing strings with their index in they dictionary of seen strings.

In an experiment, the size of the full HTML CC report was reduced from 130mb down to 1.3mb (x100). The report contained the Isolated Projects violations in a IntelliJ Sync of the Spring Framework project with full stacktraces captured, containing around 4k violations in total. In the mainline, only the first 50 stackstraces are captured.

Companion PR:

Copy link

gitstream-cm bot commented Mar 13, 2024

🥷 Code experts: no user but you matched threshold 10

alllex has most 👩‍💻 activity in the files.
alllex has most 🧠 knowledge in the files.

See details

platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/configurationcache/problems/JsonModelWriter.kt

Activity based on git-commit:

alllex
MAR
FEB
JAN 38 additions & 27 deletions
DEC
NOV
OCT

Knowledge based on git-blame:
alllex: 11%

To learn more about /:\ gitStream - Visit our Docs

@bamboo
Copy link
Member

bamboo commented Mar 14, 2024

Nice 👍

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. If you don't want the stale bot to close it, then set a milestone for it.

@github-actions github-actions bot added the stale label Apr 13, 2024
Copy link

This pull request has been automatically closed due to inactivity.

@github-actions github-actions bot closed this Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants