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

Issue 275093002: Introduce a dynamic process pool for the local test driver (Closed)

Created:
6 years, 7 months ago by Michael Achenbach
Modified:
6 years, 7 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Introduce a dynamic process pool for the local test driver The new process pool allows adding jobs after testing has been started. It will also allow to restructure building the job queue (in a follow up CL), so that testing can start instantly while the queue is being built. Also attempts to clean up the keyboard-interrupt logic. Idea: Only catch keyboard interrupt once per process at the outermost level. Use proper "finally" clauses to clean up everywhere where a keyboard interrupt might occur. Never turn named exceptions into none-exceptions using anonymous "raise". TEST=python -m unittest pool_unittest R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21310

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -134 lines) Patch
M tools/run-tests.py View 1 2 1 chunk +32 lines, -37 lines 0 comments Download
M tools/testrunner/local/commands.py View 1 2 3 2 chunks +42 lines, -47 lines 0 comments Download
M tools/testrunner/local/execution.py View 1 2 3 6 chunks +20 lines, -50 lines 0 comments Download
A tools/testrunner/local/pool.py View 1 2 3 4 1 chunk +136 lines, -0 lines 0 comments Download
A tools/testrunner/local/pool_unittest.py View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Achenbach
PTAL
6 years, 7 months ago (2014-05-13 13:16:25 UTC) #1
Jakob Kummerow
LGTM with comments. https://codereview.chromium.org/275093002/diff/60001/tools/testrunner/local/execution.py File tools/testrunner/local/execution.py (right): https://codereview.chromium.org/275093002/diff/60001/tools/testrunner/local/execution.py#newcode88 tools/testrunner/local/execution.py:88: # while the queue is filled. ...
6 years, 7 months ago (2014-05-14 09:07:37 UTC) #2
Michael Achenbach
Done. The total approach is ~0.5 seconds slower. I don't know why yet. The time ...
6 years, 7 months ago (2014-05-14 12:05:57 UTC) #3
Michael Achenbach
6 years, 7 months ago (2014-05-14 13:31:15 UTC) #4
Message was sent while issue was closed.
Committed patchset #5 manually as r21310 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698