Re: Does Anyone Compile Aspell with -DNDEBUG?

Kevin Atkinson <[email protected]> Sun, 1 Jun 2008 16:46:16 -0600 (MDT)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
On Sun, 1 Jun 2008, Jose Da Silva wrote:

> This should shed some light on the subject using a self-contained program.
> platform=linux, compiler = gcc, program=prezip.c

> $ time ./prezip_asserted -c <wordlist.txt >wordlist.cwl
> 0.06user 0.00system 0:00.08elapsed 84%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+132minor)pagefaults 0swaps
> $ time ./prezip_debugged -c <wordlist.txt >wordlist.cwl
> 0.07user 0.00system 0:00.09elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+132minor)pagefaults 0swaps

This test needs to run several times in order for the results to be 
meaningful.