diff options
author | Vedant Kumar <vsk@apple.com> | 2016-07-13 21:38:36 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-07-13 21:38:36 +0000 |
commit | 86b2ac63900dda578f4b71ff3a709fa9ccbefc23 (patch) | |
tree | 2a2efdd2d85980864134484e52a49441ee0cd835 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py | |
parent | eb9488b1511d08a607238fd8720933c5fc900954 (diff) | |
download | bcm5719-llvm-86b2ac63900dda578f4b71ff3a709fa9ccbefc23.tar.gz bcm5719-llvm-86b2ac63900dda578f4b71ff3a709fa9ccbefc23.zip |
[llvm-cov] Use a thread pool to speed up report generation (NFC)
It's safe to print out source coverage views using multiple threads when
using the -output-dir mode of the `llvm-cov show` sub-command.
While testing this on my development machine, I observed that the speed
up is roughly linear with the number of available cores. Avg. time for
`llvm-cov show ./llvm-as -show-line-counts-or-regions`:
1 thread: 7.79s user 0.33s system 98% cpu 8.228 total
4 threads: 7.82s user 0.34s system 283% cpu 2.880 total
llvm-svn: 275321
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py')
0 files changed, 0 insertions, 0 deletions