[lldb-dev] [PATCH] make dosep.ty test driver multi-threadable
Ed Maste
emaste at freebsd.org
Mon Mar 17 07:16:46 PDT 2014
On 7 March 2014 01:32, Todd Fiala <tfiala at google.com> wrote:
> Steve's change went in earlier today.
>
>> This doesn't yet work with ninja makes, but tfiala or I will look at that
>> as well.
>
> I did look into this and it actually works fine without modification if you
> do the 'ninja check-lldb' with the environment variable set.
>
> This was the run I just did using 32 procs:
>
> Running multithreaded with 32 threads.
> Ran 278 tests.
>
> real 1m22.855s
> user 5m38.520s
> sys 0m51.520s
>
>
> That used to take 10+ minutes.
For reference, these are the test times I see on FreeBSD (after
including a PoC patch for llvm.org/pr18894)
1 thread: 443.49 real 214.02 user 63.72 sys
4 threads: 121.17 real 234.17 user 66.27 sys
8 threads: 88.70 real 305.37 user 92.82 sys
I see occasional test failures with higher thread settings (I believe
this was mentioned on the list before). These are the ones that seem
susceptible:
FAIL: LLDB (suite) :: TestCallThatRestarts.py
FAIL: LLDB (suite) :: TestWatchpointConditionCmd.py
FAIL: LLDB (suite) :: TestWatchpointConditionAPI.py
More information about the lldb-dev
mailing list