Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2006-09-18 02:02:19


An update on the startup time for building from the
boost-root/Jamfile.v2. I just checked in changes to use the faster BBv1
algorithm for globing through the headers. Before and after perf:

  --count-- --gross-- --net-- --each-- --mem-- --each--
          0 81126 0 0.000000 329241390 329241390
          0 52970 0 0.000000 318892205 318892205

So a savings of 28 seconds and of 9.9M of allocations (the new algo
takes about 2 seconds to do the glob). Not that a 53 second startup is
anything to be proud of :-( This leaves the following top 5 time sinks:

  --count-- --gross-- --net-- --each-- --mem-- --each--
      42586 9352 7082 0.17 57224878 1343
regex.split
      10760 14511 5035 0.47 24564384 2282
toolset.find-property-subset
       3176 5841 5029 1.58 38371492 12081
class_at_property-map.find-replace
       2316 5983 4123 1.78 9523567 4112
class_at_property-set.__init__
        752 17544 1768 2.35 22136926 29437
toolset.set-target-variables-aux

Enjoy.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk