This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ITP] bsdiff-4.3


Well, license problems are solved for good, so I guess this means "ITP"
and not "maybe": let's state it clearly in the subject.

Here they are: (you can safely recurse: I removed the old version from
there)
http://cyberx.lapo.it/cygwin/bsdiff/
http://cyberx.lapo.it/cygwin/bsdiff/bsdiff-4.3-1-src.tar.bz2
http://cyberx.lapo.it/cygwin/bsdiff/bsdiff-4.3-1.tar.bz2

You can use http://cyberx.lapo.it/cygwin/ as a setup.exe source, also,
thanks to genini.

Example use:

% time bsdiff /usr/bin/monotone.exe /usr/local/bin/monotone-0.26.exe
monotone-0.25-0.26.exe.bsdiff
bsdiff /usr/bin/monotone.exe /usr/local/bin/monotone-0.26.exe   31.62s
user 0.20s system 86% cpu 36.972 total
% ll /usr/bin/monotone.exe /usr/local/bin/monotone-0.26.exe
monotone-0.25-0.26.exe.bsdiff
-rwxr-xr-x 1 lapo None 7492096 Jan  1 19:31 /usr/bin/monotone.exe
-rwxr-xr-x 1 lapo None 7773696 Jan 28 14:53 /usr/local/bin/monotone-0.26.exe
-rw-rw-rw- 1 lapo None 1067464 Jan 28 14:55 monotone-0.25-0.26.exe.bsdiff
% time bspatch /usr/bin/monotone.exe monotone-0.26.exe
monotone-0.25-0.26.exe.bsdiff  
bspatch /usr/bin/monotone.exe monotone-0.26.exe
monotone-0.25-0.26.exe.bsdiff  1.39s user 0.15s system 87% cpu 1.755 total
% sha1sum /usr/local/bin/monotone-0.26.exe monotone-0.26.exe
87ae6ebd80d5eda6af07c438a1d4de9b10db7e99 */usr/local/bin/monotone-0.26.exe
87ae6ebd80d5eda6af07c438a1d4de9b10db7e99 *monotone-0.26.exe

bsdiff used 126Mb for the first half or so of the time, then around 97Mb.
This is in line with what "man bsdiff" states: around 17 times the
oldfile size.
The website more precisely states it uses max(17*old, 9*old+new).

    Lapo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]