Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 14767023: Speedup net_unittests on Android by 30%. (Closed)

Created:
7 years, 7 months ago by Philippe
Modified:
7 years, 7 months ago
Reviewers:
bulach, pliard
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, klundberg+watch_chromium.org, ilevy+watch_chromium.org, frankf+watch_chromium.org, Isaac (away)
Visibility:
Public.

Description

Speedup net_unittests on Android by 30%. The Chrome test server spawner (running on the host) was sleeping way too much. Note that ideally we should move away from polling but this still sounds like a reasonable short term improvement. R=bulach@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199949

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address Marcus' comments #

Patch Set 3 : s/range/xrange #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -15 lines) Patch
M build/android/pylib/chrome_test_server_spawner.py View 1 2 5 chunks +25 lines, -15 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Philippe
7 years, 7 months ago (2013-05-07 14:37:35 UTC) #1
bulach
lgtm, thanks! just small suggestions below: https://codereview.chromium.org/14767023/diff/5001/build/android/pylib/chrome_test_server_spawner.py File build/android/pylib/chrome_test_server_spawner.py (right): https://codereview.chromium.org/14767023/diff/5001/build/android/pylib/chrome_test_server_spawner.py#newcode244 build/android/pylib/chrome_test_server_spawner.py:244: sleep_time_sec *= 2 ...
7 years, 7 months ago (2013-05-07 15:09:28 UTC) #2
Philippe
Thanks Marcus! PTAL since I had to make other changes in order to factor out ...
7 years, 7 months ago (2013-05-07 15:47:41 UTC) #3
pliard
Please hold on, my last patch set makes the test suite fails. On Tue, May ...
7 years, 7 months ago (2013-05-07 15:50:20 UTC) #4
pliard
I fixed the issue with patch set #3. Feel free to take another look. On ...
7 years, 7 months ago (2013-05-07 15:55:27 UTC) #5
bulach
lgtm, thanks! yeah, agree, let's keep this behavior private if nothing else uses it..
7 years, 7 months ago (2013-05-07 16:03:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/14767023/11001
7 years, 7 months ago (2013-05-13 14:05:56 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=147751
7 years, 7 months ago (2013-05-13 20:56:48 UTC) #8
Philippe
7 years, 7 months ago (2013-05-14 08:47:13 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r199949 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698