Git development
 help / color / mirror / Atom feed
* how to analyze binary delta compression
@ 2012-04-25 21:15 Neal Kreitzinger
  2012-04-25 21:21 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Kreitzinger @ 2012-04-25 21:15 UTC (permalink / raw)
  To: git

I need to assess the delta compression efficiency of various types of 
binaries.  Can I do it this way:

(1) Run git diff between two versions of a binary and pipe the result to 
a file.  (Sample different types of binaries and changes.)
(2) Assess the output by size or format or content to determine how well 
it delta differenced?  How would I determine this?  What are good 
absolute delta sizes?  What are good delta size ratios compared to total 
file size?  Is the number of hunks in the delta important?
(3) Compress the delta file with gzip (or something) and then assess the 
compression ratio?  What is a good compression ratio?  What are good 
delta compressed absolute sizes?  What are good delta compressed 
relative sizes to total file size?

I'm sure I may be missing some things here.  I'm new to assessing delta 
compression efficiency of binaries in general, and specifically for git. 
  Please advise.

v/r,
neal

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-25 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-25 21:15 how to analyze binary delta compression Neal Kreitzinger
2012-04-25 21:21 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox