Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-27 09:16:43


On Thursday 27 July 2006 17:10, Rene Rivera wrote:
> Vladimir Prus wrote:
> > Hi,
> > I'm still surprised by our profiling output. Here's what I see when
> > sorted by "net" time:
> >
> > --count-- --gross-- --net-- --name--
> > 3.56E+06 2.62E+06 2.62E+06 [OTHER]
> > 82,825.00 9.60E+05 250,000.00 FILE_DIRSCAN
> > 138,826.00 3.50E+05 230,000.00 BUILTIN_GLOB_BACK
> >
> >
> > So, most of the net time is spent in "OTHER".
> >
> > 1. What's exactly that?
>
> It's basically the hashing. Specifically hashitem() in "hash.c".

Given that hashing typically happens when looking up variables inside some
rules, would not it be better to attribute those times to rules? This way, I
have no idea which rules actually use that much hashing.

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2

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