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

Issue 1713993002: [Swarming] Speed up test262 upload/download. (Closed)

Created:
4 years, 10 months ago by Michael Achenbach
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com, M-A Ruel
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Swarming] Speed up test262 upload/download. This experimentally implements taring/untaring the test data for test262 on the v8-side before test isolation and when running the tests. It archives on demand only if the tar is outdated compared to the contained files. This comes with a cost of ~1s extra to run gyp on linux and ~6s extra on windows. Ninja is lightning fast afterwards in detecting changes. Also, we archive only when test_isolation_mode is set and when the test262_run target is required. The archiving itself costs ~30s on all platforms. But as the files will change seldom this shouldn't have a big impact. Extraction on the test runner side is below 2s on mac and linux. The speedup is enormous. Around 5 minutes were spent on download on swarming slaves before, which is now only a few seconds. So total test time for release (no variants), e.g. goes from 8 to 3 minutes. BUG=chromium:535160 LOG=n Committed: https://crrev.com/6cecb3eb7717e8355beb38b4e866de359ea09d07 Cr-Commit-Position: refs/heads/master@{#34155}

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Fixes #

Total comments: 3

Patch Set 4 : Fix /\ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -2 lines) Patch
M .gitignore View 1 chunk +1 line, -0 lines 0 comments Download
A test/test262/archive.py View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A test/test262/list.py View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M test/test262/test262.gyp View 1 chunk +8 lines, -0 lines 0 comments Download
M test/test262/test262.isolate View 1 chunk +5 lines, -2 lines 0 comments Download
M test/test262/testcfg.py View 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1713993002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1713993002/1
4 years, 10 months ago (2016-02-19 13:09:16 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/3181)
4 years, 10 months ago (2016-02-19 13:11:39 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1713993002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1713993002/20001
4 years, 10 months ago (2016-02-19 13:22:48 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/13955) v8_linux64_avx2_rel on ...
4 years, 10 months ago (2016-02-19 13:23:58 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1713993002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1713993002/40001
4 years, 10 months ago (2016-02-19 13:31:56 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-19 13:48:53 UTC) #13
Michael Achenbach
PTAL. I don't have numbers for the speedup on windows as we don't run test262 ...
4 years, 10 months ago (2016-02-19 14:01:44 UTC) #16
Michael Achenbach
https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py File test/test262/archive.py (right): https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py#newcode12 test/test262/archive.py:12: return None if tar_info.name.startswith('data/.git') else tar_info hmm - wondering ...
4 years, 10 months ago (2016-02-19 14:02:49 UTC) #17
tandrii(chromium)
lgtm https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py File test/test262/archive.py (right): https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py#newcode12 test/test262/archive.py:12: return None if tar_info.name.startswith('data/.git') else tar_info On 2016/02/19 ...
4 years, 10 months ago (2016-02-19 14:12:50 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1713993002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1713993002/60001
4 years, 10 months ago (2016-02-19 14:14:14 UTC) #21
Michael Achenbach
https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py File test/test262/archive.py (right): https://codereview.chromium.org/1713993002/diff/40001/test/test262/archive.py#newcode12 test/test262/archive.py:12: return None if tar_info.name.startswith('data/.git') else tar_info On 2016/02/19 14:12:50, ...
4 years, 10 months ago (2016-02-19 14:26:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1713993002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1713993002/60001
4 years, 10 months ago (2016-02-19 14:28:57 UTC) #27
tandrii(chromium)
lgtm
4 years, 10 months ago (2016-02-19 14:28:57 UTC) #28
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-19 14:41:21 UTC) #30
commit-bot: I haz the power
4 years, 10 months ago (2016-02-19 14:41:37 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6cecb3eb7717e8355beb38b4e866de359ea09d07
Cr-Commit-Position: refs/heads/master@{#34155}

Powered by Google App Engine
This is Rietveld 408576698