[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tiger-devel] [PATCH] Another speed improvement to deb_nopackfiles
From: |
Nicolas François |
Subject: |
[Tiger-devel] [PATCH] Another speed improvement to deb_nopackfiles |
Date: |
Tue, 16 Sep 2003 09:52:17 +0200 |
User-agent: |
Mutt/1.5.4i |
Hello,
-- 02b_deb_nopackfiles_speed_up.patch ----------------------------------
add a patch to the previous patch (already applied to CVS) to speed up
deb_nopackfiles:
Shrink the list `cat /var/lib/dpkg/info/*.list` by only keeping files
that will be checked (files in /bin, /sbin,...).
Note 1: I added a comment on the usage of dlocate for the 'standard' way
(faster). This comment could be removed (or implemented).
Note 2: DPKG is only needed when "$Tiger_DPKG_Optimize" = "N" (just for
fun)
Note 3: An option could be usefull for the list of dirs checked.
Note 4: time (s) patch nopatch
user: 14.6 19.9
system: 2.6 2.9
CPU%: 93% 98%
total: 0:18 0:23
Note 5: /usr/lib and /usr/X11R6/lib could be added. /usr/lib add a
lot of false positive (4237 for me: 4132 are python's pyc and pyo, 91
are in the perl PDL directory , 10 are now removed :), 2 are moved to
/usr/local/lib, 2 need more investigation)
------------------------------------------------------------------------
Regards,
--
Nekral
02b_deb_nopackfiles_speed_up.patch
Description: Text document
- [Tiger-devel] [PATCH] Another speed improvement to deb_nopackfiles,
Nicolas François <=