bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Couple of issues with doc/ subdir (with PATCH)


From: Derek R. Price
Subject: Re: Couple of issues with doc/ subdir (with PATCH)
Date: Wed, 06 Jun 2001 09:31:54 -0400

Larry Jones wrote:

> Derek R. Price writes:
> >
> > Ok.  Do you know if that _only_ applies to *.aux?  There are a bunch of
> > other files we don't distribute.... *.toc, *.fns, *.cps, *.fn, *.cp...
>
> >From what I can glean from the version of texi2dvi I have, the relevant
> files are .aux, .cp, .fn, and .toc.  (Some of the other files would be
> relevant if they weren't empty -- the rule seems to be any non-empty
> files whose first character is \ or ' matching one of the suffixes:
> .aux, .idx, .?o?, or .??.)  So, it seems we should either add those
> files to EXTRA_DIST or remove the .aux files; there doesn't seem to be
> any point in having one without the others.

I say we remove them.  I ran a benchmark.  In four runs of each test, there
was approximately a 57% (4.5 seconds from 8.) savings of CPU time
regenerating cvs.dvi & cvs.ps with all the auxiliary files available.  The
savings was about 66% (8 seconds from 12.) regenerating cvs.pdf with the
auxiliary files available.  Granted, on a CPU 1/10 the speed of the 500MHz I
tested this on (50Hz), this savings could amount to 45 seconds and a minute
and 20 seconds, respectively, but compared to the cost of a full build, that
seems negligible to me.

Sample output - variation over 4 test runs of each of the following was
+-0.2 CPU seconds:

[dprice@empress doc]$ make clean
test -z "cvs-paper.pdf cvs.pdf cvsclient.pdf cvs.txt cvsclient.txt" || rm -f
cvs-paper.pdf cvs.pdf cvsclient.pdf cvs.txt cvsclient.txt
rm -f cvs.aux cvs.cp cvs.cps cvs.dvi cvs.fn cvs.fns cvs.ky cvs.log cvs.pg \
  cvs.ps cvs.toc cvs.tp cvs.vr cvsclient.aux cvsclient.cp \
  cvsclient.dvi cvsclient.fn cvsclient.ky cvsclient.log \
  cvsclient.pg cvsclient.ps cvsclient.toc cvsclient.tp \
  cvsclient.vr
test -z "cvs.cps cvs.fns" || rm -f cvs.cps cvs.fns
[dprice@empress doc]$ time make cvs.ps >/dev/null
...
real 0m9.344s
user 0m7.330s
sys 0m0.390s
[dprice@empress doc]$ rm cvs.dvi cvs.ps
[dprice@empress doc]$ time make cvs.ps >/dev/null
...
real 0m4.317s
user 0m3.210s
sys 0m0.220s
[dprice@empress doc]$ make clean
test -z "cvs-paper.pdf cvs.pdf cvsclient.pdf cvs.txt cvsclient.txt" || rm -f
cvs-paper.pdf cvs.pdf cvsclient.pdf cvs.txt cvsclient.txt
rm -f cvs.aux cvs.cp cvs.cps cvs.dvi cvs.fn cvs.fns cvs.ky cvs.log cvs.pg \
  cvs.ps cvs.toc cvs.tp cvs.vr cvsclient.aux cvsclient.cp \
  cvsclient.dvi cvsclient.fn cvsclient.ky cvsclient.log \
  cvsclient.pg cvsclient.ps cvsclient.toc cvsclient.tp \
  cvsclient.vr
test -z "cvs.cps cvs.fns" || rm -f cvs.cps cvs.fns
[dprice@empress doc]$ time make cvs.pdf >/dev/null

real 0m15.466s
user 0m12.460s
sys 0m0.820s
[dprice@empress doc]$ rm cvs.pdf
[dprice@empress doc]$ time make cvs.pdf >/dev/null

real 0m5.611s
user 0m4.510s
sys 0m0.300s



Dissenting opinions?

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:dprice@collab.net         CollabNet ( http://collab.net )
--
Of all the gin joints in all the towns in all the world, she walks into mine.

                - Humphrey Bogart as Rick, _Casablanca_






reply via email to

[Prev in Thread] Current Thread [Next in Thread]