[Lldb-commits] [PATCH] D12651: Add ctrl-c support to parallel dotest.py.
Todd Fiala via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 7 21:09:56 PDT 2015
tfiala updated this revision to Diff 34186.
tfiala added a comment.
Adds "threading" test-runner strategy, which mirrors the "multithreading" runner in terms of supporting Ctrl-C and hand-rolling the worker model. Like multiprocessing over multiprocessing-pool, threading outperforms threading-pool.
Both threading and multiprocessing operate at roughly the same speed (within 10s of ms) on a 24 core Linux box. Both these two test runners are substantially faster than the versions that use the Pool class --- the Pool-class versions are 20-25% slower than the hand-rolled worker pool versions, likely due to the more even on-demand scheduling and coarse grain and uneven nature of our tasks being run.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 27101 bytes
Desc: not available
More information about the lldb-commits