Re: SCons testing

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CEKVCWeGftwSPcw-n40wc9eOyX_pTgLNvCqi=Tf=kdErg@mail.gmail.com>
That's very strange.
Do you have a stack trace of that?
Curious to see the path through the code causing that.

-Bill

On Wed, Sep 28, 2016 at 10:12 AM, Tom Tanner (BLOOMBERG/ LONDON) <
ttanner2-AlFclGv/[email protected]> wrote:

> The general number isn't unexpected. The total number is a bit more so as
> WhereIs gets called once for each command more or less. If you have 5,000
> compile steps that's 5,000 calls to stat the compiler path.
>
> From: bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org At: 09/28/16 13:20:50
> To: Tom Tanner (BLOOMBERG/ LONDON) <ttanner2-AlFclGv/[email protected]>,
> [email protected]
> Subject: Re: [Scons-dev] SCons testing
>
> stat() likely get's called on every single source file.
> That's how you get the date stamps from the file.
> So that's not really unexpected.
>
> I"ll take a look at the test vs normal usage on the docbook logic later
> today.
>
> -Bill
>
> On Wed, Sep 28, 2016 at 7:23 AM, Tom Tanner (BLOOMBERG/ LONDON) <
> ttanner2-AlFclGv/[email protected]> wrote:
>
>> I stuck in a pull request a day or so ago to cache the result of WhereIs
>> as doing some tests with strace I've found that 'stat' gets called an
>> /awful/ lot on our system (every single time we have a C++ source to
>> compile for instance).
>>
>> Whilst I was running the tests, I found that all of the docbook related
>> tests are failing because test.where_is is using a different path (the
>> current OS one) to that used by the test (which are just using
>> c:\windows\system32). I'm not sure what the solution is to this.
>>
>> Apologies if I sent this before, I thought I had but I can't see anything
>> in my inbox at work which should have picked it up.
>>
>> _______________________________________________
>> Scons-dev mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>
>
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.