[Lldb-commits] [PATCH] D12651: Add ctrl-c support to parallel dotest.py.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 8 16:06:34 PDT 2015


tfiala added a comment.

> On OS X there was at least one test that would hang each run, so I didn't get any kind of real timing numbers there since everything was always maxed out by the hanging test.


Well wonders abound.  On my OS X setup, I am not seeing the hanging tests with TOT from mid day.  And, surprisingly, the '--test-runner-name threading' is no longer grabbing the parallel test runner's Python global interpreter lock on the exec.  This means the threads are really working in parallel as originally intended last year.  This might be related to changes since OS X 10.9 when I was last messing with this.  The better news is that, unlike Linux, the 'threading' test runner *is* a speed improvement over the 'multiprocessing' test runner: on a 4 core MBP mid 2013 with 8 GB RAM using 8 threads, I shaved off 16% (~1.2 times speedup) on my runtime using 'threading' over 'multiprocessing'.

I'm not sure if this is related to the version of OS X and the bundled Python, so I may do some experimentation before considering flipping it to default to 'threading' for OS X.


http://reviews.llvm.org/D12651





More information about the lldb-commits mailing list