Bug 116492 - Remove DriverProxy._running_drivers from webkitpy.layout_tests.port
Summary: Remove DriverProxy._running_drivers from webkitpy.layout_tests.port
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-05-20 19:08 PDT by Ryosuke Niwa
Modified: 2013-05-20 22:49 PDT (History)
6 users (show)

See Also:


Attachments
Merges the patch (3.57 KB, patch)
2013-05-20 19:10 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-05-20 19:08:46 PDT
Merge https://chromium.googlesource.com/chromium/blink/+/1af2f0be5a1746784ff114952f29f7b8fa9895f3

The DriverProxy class had the concept of keeping a pool of started
DRTs around (indexed by command line) so that we didn't necessarily
need to restart DRT when the command line for a test changed (e.g., when
starting to run tests in a virtual suite). However, the pool was per-worker
(so not shared across the machine) and we didn't cap the number of processes
started, so we would end up with a whole bunch of DRTs (3x-4x the number of
workers started). If anything, this seemed to make the tests slightly slower
and probably added to memory pressure on the machine.

This change removes the pool code; now we'll simply restart DRT when the
command line changes. With this change, we can actually fold the restarting
code into Driver itself (and get rid of DriverProxy), but I'll leave that
for a subsequent patch just to make things easier to follow.
Comment 1 Ryosuke Niwa 2013-05-20 19:10:17 PDT
Created attachment 202369 [details]
Merges the patch
Comment 2 WebKit Commit Bot 2013-05-20 22:49:51 PDT
Comment on attachment 202369 [details]
Merges the patch

Clearing flags on attachment: 202369

Committed r150416: <http://trac.webkit.org/changeset/150416>
Comment 3 WebKit Commit Bot 2013-05-20 22:49:53 PDT
All reviewed patches have been landed.  Closing bug.