Title: [106079] trunk/Tools
Revision
106079
Author
o...@chromium.org
Date
2012-01-26 18:48:55 -0800 (Thu, 26 Jan 2012)

Log Message

Decrease sleep time when killing server_process on Mac.
https://bugs.webkit.org/show_bug.cgi?id=77169

Reviewed by Eric Seidel.

This shaves another ~70ms off single test runtime.

* Scripts/webkitpy/layout_tests/port/server_process.py:
(ServerProcess.stop):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (106078 => 106079)


--- trunk/Tools/ChangeLog	2012-01-27 02:30:38 UTC (rev 106078)
+++ trunk/Tools/ChangeLog	2012-01-27 02:48:55 UTC (rev 106079)
@@ -1,5 +1,17 @@
 2012-01-26  Ojan Vafai  <o...@chromium.org>
 
+        Decrease sleep time when killing server_process on Mac.
+        https://bugs.webkit.org/show_bug.cgi?id=77169
+
+        Reviewed by Eric Seidel.
+
+        This shaves another ~70ms off single test runtime.
+
+        * Scripts/webkitpy/layout_tests/port/server_process.py:
+        (ServerProcess.stop):
+
+2012-01-26  Ojan Vafai  <o...@chromium.org>
+
         Remove builder name so http://trac.webkit.org/changeset/106035 actually works.
         https://bugs.webkit.org/show_bug.cgi?id=77164
 

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/server_process.py (106078 => 106079)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/server_process.py	2012-01-27 02:30:38 UTC (rev 106078)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/server_process.py	2012-01-27 02:48:55 UTC (rev 106079)
@@ -282,7 +282,7 @@
             KILL_TIMEOUT = 3.0
             timeout = time.time() + KILL_TIMEOUT
             while self._proc.poll() is None and time.time() < timeout:
-                time.sleep(0.1)
+                time.sleep(0.01)
             if self._proc.poll() is None:
                 _log.warning('stopping %s timed out, killing it' % self._name)
                 self._executive.kill_process(self._proc.pid)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to