Don't profile threads.
authorDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 28 Jan 2015 11:02:40 +0000 (12:02 +0100)
committerDmitry Trofimov <dmitry.trofimov@jetbrains.com>
Wed, 28 Jan 2015 11:02:40 +0000 (12:02 +0100)
python/helpers/profiler/run_profiler.py

index 70b20dd72ad5f3a996872f99ed666d8a0ee81816..4f9dff0a7faf230f2a07927af4179990fc70b0c6 100644 (file)
@@ -83,7 +83,7 @@ class Profiler(object):
         time.sleep(10)
 
     def start_profiling(self):
-        yappi.start()
+        yappi.start(profile_threads=False)
 
     def stats_string(self, id):
         output = StringIO.StringIO()