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

Issue 10876044: run_test_from_archive: Rewritten to be more parallelized. (Closed)

Created:
8 years, 4 months ago by M-A Ruel
Modified:
8 years, 3 months ago
Reviewers:
cmp, csharp
CC:
chromium-reviews, pam+watch_chromium.org, csharp
Visibility:
Public.

Description

run_test_from_archive: Rewritten to be more parallelized. - Fetch files, create directories and symlinks all simultaneously. - Opportinistically map the first files arrived instead of processing them in order. - Creates all the needed directories in one pass, reducing the number of system calls like os.path.isdir(). - Add support for 'includes' manifest, e.g. fetch all files from another manifest in addition to the current one. This permits doing something like: 1. Create a root manifest that contains all the usual script files. 2. Create one manifest per command to run, referencing the root manifest in the 'includes' section by its hash. Note that includes are recursive. 3. Optionally overide a file in to root manifest from what was defined in an included manifest. Add more tests. R=cmp@chromium.org NOTRY=true BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=153755

Patch Set 1 #

Total comments: 16

Patch Set 2 : Rebase againt HEAD and include fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -100 lines) Patch
A tools/isolate/data/run_test_from_archive/check_files.py View 1 1 chunk +39 lines, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/check_files.results View 1 1 chunk +15 lines, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/file1.txt View 1 chunk +1 line, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/file2.txt View 1 chunk +1 line, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/file3.txt View 1 chunk +1 line, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/manifest1.results View 1 chunk +7 lines, -0 lines 0 comments Download
A tools/isolate/data/run_test_from_archive/manifest2.results View 1 chunk +8 lines, -0 lines 0 comments Download
M tools/isolate/run_test_from_archive.py View 1 8 chunks +250 lines, -70 lines 0 comments Download
M tools/isolate/run_test_from_archive_smoke_test.py View 4 chunks +68 lines, -30 lines 0 comments Download
M tools/isolate/run_test_from_archive_test.py View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
M-A Ruel
8 years, 4 months ago (2012-08-23 17:32:02 UTC) #1
cmp
lgtm with nits one more nit: let's get csharp to review, too :) https://chromiumcodereview.appspot.com/10876044/diff/1/tools/isolate/data/run_test_from_archive/check_files.py File ...
8 years, 3 months ago (2012-08-28 17:49:30 UTC) #2
csharp
LGTM with a few small nits https://chromiumcodereview.appspot.com/10876044/diff/1/tools/isolate/run_test_from_archive.py File tools/isolate/run_test_from_archive.py (right): https://chromiumcodereview.appspot.com/10876044/diff/1/tools/isolate/run_test_from_archive.py#newcode450 tools/isolate/run_test_from_archive.py:450: # Items fetched ...
8 years, 3 months ago (2012-08-28 19:03:31 UTC) #3
M-A Ruel
https://chromiumcodereview.appspot.com/10876044/diff/1/tools/isolate/data/run_test_from_archive/check_files.py File tools/isolate/data/run_test_from_archive/check_files.py (right): https://chromiumcodereview.appspot.com/10876044/diff/1/tools/isolate/data/run_test_from_archive/check_files.py#newcode12 tools/isolate/data/run_test_from_archive/check_files.py:12: On 2012/08/28 17:49:30, cmp wrote: > insert an empty ...
8 years, 3 months ago (2012-08-28 21:59:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/10876044/6001
8 years, 3 months ago (2012-08-28 22:05:43 UTC) #5
commit-bot: I haz the power
8 years, 3 months ago (2012-08-28 22:07:34 UTC) #6
Change committed as 153755

Powered by Google App Engine
This is Rietveld 408576698