Re: Compressed Pristines (Design Doc)
From: Philip Martin <philip.martin_at_wandisco.com>
 
Date: Thu, 22 Mar 2012 23:00:12 +0000 
Erik Huelsmann <ehuels_at_gmail.com> writes:
 > As the others, I'm surprised we seem to be going with a custom file format.
 I was surprised too, so I looked at GCC where a trunk checkout has
 $ find .svn/pristine -type f | wc -l
 Uncompressed:
 $ du -hs .svn/pristine
 Individually compressed is smaller by a factor of 2:
 $ find .svn/pristine -type f | xargs gzip
 As one single file is smaller by another factor of 3:
 $ find .svn/pristine -type f | xargs cat >> one-big-file
 When individually compressed most of the 75,000 files are less
 $ find .svn/pristine -size -4096c | wc -l
 more than half are less than 1K:
 $ find .svn/pristine -size -1024c | wc -l
 and nearly half are less than 0.5K:
 $ find .svn/pristine -size -512c | wc -l
 In the uncompressed state:
 62323 are less than 4K
 Maybe GCC is not typical but, rather to my surprise, combining the
 I also have an httpd trunk checkout (needs cleanup so bigger than
 90M uncompressed
 That's more like your figures for Subversion where the major step is
 -- uberSVN: Apache Subversion Made Easy http://www.uberSVN.comReceived on 2012-03-23 00:00:50 CET  | 
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.