[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.
http://reviews.llvm.org/D12651
Files:
test/dosep.py
test/dotest.py
test/dotest_args.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12651.34186.patch
Type: text/x-patch
Size: 27101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150908/5fe6f09e/attachment-0001.bin>
More information about the lldb-commits
mailing list