Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExplain meaning of uncompressed size values #49
Conversation
This adds the explanation given in #35 (comment) by @mhagger to include some more details of what the provided size values for total size mean an what purpose they can be used for.
|
|
||
| The "Biggest objects" section provides information about the biggest single objects of each type, anywhere in the history. | ||
|
|
||
| In the "History structure" section, "maximum history depth" is the longest chain of commits in the history, and "maximum tag depth" reports the longest chain of annotated tags that point at other annotated tags. | ||
|
|
||
| The "Biggest checkouts" section is about the sizes of commits as checked out into a working copy. "Maximum path depth" is the largest number of path components for files in the working copy, and "maximum path length" is the longest path in terms of bytes. "Total size of files" is the sum of all file sizes in the single biggest commit, including multiplicities if the same file appears multiple times. | ||
| The "Biggest checkouts" section is about the sizes of commits as checked out into a working copy. "Maximum path depth" is the largest number of path components for files in the working copy, and "maximum path length" is the longest path in terms of bytes. "Total size of files" is the sum of all file sizes in the single biggest commit, including multiplicities if the same file appears multiple times. The uncompressed size of trees and commits is a good indication of how expensive reachability traversals will be, including clones and fetches and `git gc`. |
mhagger
Oct 2, 2018
•
Member
The "The uncompressed size ..." sentence also belongs in the section about "Overall repository size". The total sum of these sizes indicates more about the time to traverse all of history, which isn't necessarily correlated with the time to traverse a single tree.
"Total size of files" is different. It is roughly the disk space needed to check out the biggest commit in the history. It is possible that this includes multiple copies of the same blob (at different paths). "Overall repository size", by contrast, never includes multiple copies of the same exact blob.
The "The uncompressed size ..." sentence also belongs in the section about "Overall repository size". The total sum of these sizes indicates more about the time to traverse all of history, which isn't necessarily correlated with the time to traverse a single tree.
"Total size of files" is different. It is roughly the disk space needed to check out the biggest commit in the history. It is possible that this includes multiple copies of the same blob (at different paths). "Overall repository size", by contrast, never includes multiple copies of the same exact blob.


This adds the explanation given in #35 (comment) by @mhagger to include some more details of what the provided size values for total size mean an what purpose they can be used for.
See also: Issue #35