Skip to content

Add command to show compression statistics - #440

Merged
jrosdahl merged 1 commit into
ccache:masterfrom
afbjorklund:compress-stats
Jul 15, 2019
Merged

jrosdahl merged 1 commit into
ccache:masterfrom
afbjorklund:compress-stats

Conversation

@afbjorklund

Copy link
Copy Markdown
Contributor

This will only show information about the files that is knows about
(right magic bytes). So the file count might differ from what is shown
with the regular statistics (which shows all files, including old ones).

The terminology used here is a bit confused, the compression ratio is
supposed to grow upwards. Sometimes known as "space savings" instead,
so list both values (ratio and savings) to make the output more obvious.

Comment thread src/ccache.c Resolved
Comment thread src/compress.c Resolved
This will only show information about the files that is knows about
(right magic bytes). So the file count might differ from what is shown
with the regular statistics (which shows all files, including old ones).

The terminology used here is a bit confused, the compression ratio is
supposed to grow upwards. Sometimes known as "space savings" instead,
so list both values (ratio and savings) to make the output more obvious.
@jrosdahl
jrosdahl merged commit 26fbfd4 into ccache:master Jul 15, 2019
@jrosdahl

Copy link
Copy Markdown
Member

Thanks.

llunak pushed a commit to llunak/ccache that referenced this pull request Nov 2, 2019
This will only show information about the files that is knows about
(right magic bytes). So the file count might differ from what is shown
with the regular statistics (which shows all files, including old ones).

The terminology used here is a bit confused, the compression ratio is
supposed to grow upwards. Sometimes known as "space savings" instead,
so list both values (ratio and savings) to make the output more obvious.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

issue: feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants