[lit] Use multiprocessing by default on Windows
authorReid Kleckner <rnk@google.com>
Thu, 1 Sep 2016 17:19:44 +0000 (17:19 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 1 Sep 2016 17:19:44 +0000 (17:19 +0000)
commitf309bfc5f9017aec4ab707755ff9c4bcfea3a404
tree64746171e9832e4ed027a724b2c5c84f1431136e
parentbe765196fa781b81cf61e09f7c0cfc0a829fc867
[lit] Use multiprocessing by default on Windows

Apparently nobody evaluated multiprocessing on Windows since Daniel
enabled multiprocessing on Unix in r193279. It works so far as I can
tell.

Today this is worth about an 8x speedup (631.29s to 73.25s) on my 24
core Windows machine. Hopefully this will improve Windows buildbot cycle
time, where currently it takes more time to run check-all than it does
to self-host with assertions enabled:
http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/20
  build stage 2 ninja all ( 28 mins, 22 secs )
  ninja check 2 stage 2   ( 37 mins, 38 secs )

llvm-svn: 280382
llvm/utils/lit/lit/main.py