Boost logo

Boost :

From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2003-09-05 16:39:33


I wrote a couple of scripts to extract some numbers from the dependency files
to be found in the .deps dirs. See attached.

$ ./deps.sh build/src/insets/ExternalTemplates.o
ExternalTemplate.o depends on 151 system files and 31 local files

If you pass deps.sh all the .o files in the build, dumping the output to file,
you can then run summate.sh on this output. It does nothing more than add up
all the system file dependencies into one value. Ditto for the local file
dependencies.

$ ./summate.sh stats
Total system dependencies: 123583
Total local dependencies: 56886

I downloaded a copy of the cvs tree from 3 September and ran these scripts on
the build dirs of it and of current cvs. Total local dependencies reduced
from 63 to 57 thousand files.

Looks like I did something useful after all ;-)
Angus

$ find devel/build/src -name "*.o" | xargs scripts/deps.sh > depstats1
$ sort depstats1 > depstats1_sorted
$ find sep_03/build/src -name "*.o" | xargs scripts/deps.sh > depstats2
$ sort depstats2 > depstats2_sorted
$ wc -l depstats1_sorted
    754 depstats1_sorted
$ wc -l depstats2_sorted
    754 depstats2_sorted
$ scripts/summate.sh depstats1_sorted
Total system dependencies: 123583
Total local dependencies: 56886
$ scripts/summate.sh depstats2_sorted
Total system dependencies: 125081
Total local dependencies: 63382





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk