Currently, the most time consuming operation when creating a new browser
commit1fd28e9eb7414c43c3811f684832296a85289b2a
authorperezju <perezju@chromium.org>
Thu, 11 Sep 2014 10:37:01 +0000 (11 03:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Sep 2014 10:41:28 +0000 (11 10:41 +0000)
tree0671060387a50b42d7bb0bd33d2fdaff66f11f14
parent110ffbe98fd296a6e77328d0b963813bf5635533
Currently, the most time consuming operation when creating a new browser
during Telemetry tests consists of sending an "adb force-stop" command
to the device, in order to force kill any previous browsers which did
not close as expected.

Sending a kill -9 to the process is, however, more efficient.
This CL also adds some efficiency improvements to DeviceUtils.KillAll.
The change amounts to a 6-7% speedup when running all of telemetry
unittests.

BUG=379378

Review URL: https://codereview.chromium.org/536343003

Cr-Commit-Position: refs/heads/master@{#294368}
build/android/pylib/device/device_utils.py
build/android/pylib/device/device_utils_test.py
tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py