[lit] Stop hacking the GIL check interval.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 23 Oct 2013 22:19:32 +0000 (22:19 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 23 Oct 2013 22:19:32 +0000 (22:19 +0000)
 - This was never a big win, and is irrelevant now that we commonly use
   multiprocessing based parallelism.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193280 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/main.py

index 3d187079cb67227d651deb5fcf7f9a9332b8c4d8..dcf0c9f33ab8628003dbbad8d5677e1abcb31318 100755 (executable)
@@ -109,12 +109,6 @@ def write_test_results(run, lit_config, testing_time, output_path):
         f.close()
 
 def main(builtinParameters = {}):
-    # Bump the GIL check interval, its more important to get any one thread to a
-    # blocking operation (hopefully exec) than to try and unblock other threads.
-    #
-    # FIXME: This is a hack.
-    sys.setcheckinterval(1000)
-
     # Use processes by default on Unix platforms.
     isWindows = platform.system() == 'Windows'
     useProcessesIsDefault = not isWindows