autoscons-devel
[Top][All Lists]
Advanced

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

Re: [Autoscons-devel] Re: delay dist command


From: Zhang Le
Subject: Re: [Autoscons-devel] Re: delay dist command
Date: Tue, 30 Sep 2003 09:08:40 +0800
User-agent: Mutt/1.4i

On Mon, Sep 29, 2003 at 09:30:11AM -0500, David Snopek wrote:
> 
> Zhang Le said:
> > Here's improvements:
> > before I use cache it takes scons 8 sec to process SConstruct
> > after filelist.cache is used,  6.3 sec (adding nodes from cache needs
> > 2.3 sec)
> > if I do not call get_dirfiles(),  4 sec (that means get_dirfiles() needs
> > 1.7 sec)
> > It seems I got 1.7 sec improvement from cache.
> > I also tried pickle the list to a file,  but no significant speedup
> > gained.
> >
> > It seems the main computation is adding nodes to the building system
> > (2.3 sec)
> 
> That is a very long to time to read a file and make Python objects.  I
> would be willing to bet that this is more a memory consumption problem,
> than a real speed issue.  How much memory do you have in your machine? 
> What is the processor speed.
I think that is because the number of files is big (memory should not be
a problem):
scons needs to process about 300 files (1.2M on disk) on a (single)
450Mhz machine with 256Mb ram.




reply via email to

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