Nmap Development mailing list archives

Re: configure optimisations


From: Kris Katterjohn <katterjohn () gmail com>
Date: Thu, 19 Jul 2007 13:17:37 -0500

Eddie Bell wrote:
I've committed some initial changes to the 'configure' system. So far
nbase, nsock and nmap have been modified although there is still scope
for improvement in the other sections.

The changes save around 3800 lines of configure code (130k of disk
space) and anywhere between 5 and 15 seconds in run-time. The exact
time saved varies but it is always faster

I've tried to make the files smaller, faster and simpler by doing the following:

   * using 'ifnames' to remove unused macros and tests
   * simplifying tests that are only partially used
   * reducing redundancy

The changes 'should' not break anything but I don't have access to
some of the more exotic unix's

thanks
 - eddie


I just tested it on my Ubuntu box.  I only got an average savings of 
about 2 seconds using the new configures, but if you saved that much 
disk space and you've had up to 15 seconds saved before, then that's 
great!  I didn't have any problems with it.

Thanks,
Kris Katterjohn

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: