Bug#757528: devscripts: speed up debdiff for 3.0 (quilt) format

Michael Gilbert mgilbert at debian.org
Fri Aug 8 22:21:04 UTC 2014


package: devscripts
version: 2.14.6
severity: wishlist

Hi,

I spent some time a while back speeding up debdiff and have been
testing it for a few months successfully now.  This really decreases
diffing time/memory for 3.0 packages that share their orig files.

Please see proposed patch and some example performance below.

Best wishes,
Mike

$ time debdiff linux_3.14.13-1.dsc linux_3.14.13-2.dsc > linux-old.patch

real 2m56.959s
user 0m28.076s
sys 0m14.452s

$ time ./devscripts/scripts/debdiff.pl linux_3.14.13-1.dsc
linux_3.14.13-2.dsc > linux-new.patch

real 0m0.814s
user 0m0.632s
sys 0m0.244s

$ diff linux-old.patch linux-new.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devscripts.patch
Type: text/x-patch
Size: 3210 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20140808/65c38f0e/attachment.bin>


More information about the devscripts-devel mailing list