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

Issue 2575543002: Add a script to merge the PGC files (Closed)

Created:
4 years ago by Sébastien Marchand
Modified:
3 years, 10 months ago
Reviewers:
scottmg
CC:
chromium-reviews, iannucci
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a script to merge the PGC files. Workaround for a flakyness in pgomgr.exe where it can run out of address space while trying to merge all the PGC files at the same time. This will also allow to upload the pgd file before running the optimize step. BUG=674956 Review-Url: https://codereview.chromium.org/2575543002 Cr-Original-Commit-Position: refs/heads/master@{#448332} Committed: https://chromium.googlesource.com/chromium/src/+/6c18b1e861ec6a9c96d24b3bd962688e50c83597 Review-Url: https://codereview.chromium.org/2575543002 Cr-Commit-Position: refs/heads/master@{#449082} Committed: https://chromium.googlesource.com/chromium/src/+/4a19948e1bc13344a301c439445d36b44c207bb1

Patch Set 1 #

Patch Set 2 : 2017! #

Patch Set 3 : Throw exceptions on error #

Total comments: 2

Patch Set 4 : Simplify. #

Total comments: 2

Patch Set 5 : Add source. #

Patch Set 6 : Executable bit. #

Patch Set 7 : Fix the x86 part. #

Patch Set 8 : Fix the x86 part. #

Patch Set 9 : amd64_x86 #

Patch Set 10 : amd64 #

Patch Set 11 : Always use amd64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -0 lines) Patch
A build/win/merge_pgc_files.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (21 generated)
Sébastien Marchand
It turns out that I also need this if I want to archive the PGD ...
3 years, 10 months ago (2017-02-03 20:57:44 UTC) #6
scottmg
https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py File build/win/merge_pgc_files.py (right): https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py#newcode87 build/win/merge_pgc_files.py:87: iterations = int(len(pgc_files) / pgc_per_iter) + ( This makes ...
3 years, 10 months ago (2017-02-04 02:44:09 UTC) #11
Sébastien Marchand
https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py File build/win/merge_pgc_files.py (right): https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py#newcode87 build/win/merge_pgc_files.py:87: iterations = int(len(pgc_files) / pgc_per_iter) + ( On 2017/02/04 ...
3 years, 10 months ago (2017-02-06 16:48:38 UTC) #12
scottmg
On 2017/02/06 16:48:38, Sébastien Marchand wrote: > https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py > File build/win/merge_pgc_files.py (right): > > https://codereview.chromium.org/2575543002/diff/60001/build/win/merge_pgc_files.py#newcode87 ...
3 years, 10 months ago (2017-02-06 17:57:08 UTC) #13
scottmg
lgtm https://codereview.chromium.org/2575543002/diff/80001/build/win/merge_pgc_files.py File build/win/merge_pgc_files.py (right): https://codereview.chromium.org/2575543002/diff/80001/build/win/merge_pgc_files.py#newcode88 build/win/merge_pgc_files.py:88: def _split_in_chunks(items, chunk_size): You could just use pgc_per_iter ...
3 years, 10 months ago (2017-02-06 17:57:14 UTC) #14
Sébastien Marchand
Thanks, committing. https://codereview.chromium.org/2575543002/diff/80001/build/win/merge_pgc_files.py File build/win/merge_pgc_files.py (right): https://codereview.chromium.org/2575543002/diff/80001/build/win/merge_pgc_files.py#newcode88 build/win/merge_pgc_files.py:88: def _split_in_chunks(items, chunk_size): On 2017/02/06 17:57:14, scottmg ...
3 years, 10 months ago (2017-02-06 18:35:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575543002/100001
3 years, 10 months ago (2017-02-06 18:36:30 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/357612)
3 years, 10 months ago (2017-02-06 18:44:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575543002/120001
3 years, 10 months ago (2017-02-06 18:50:37 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001) as https://chromium.googlesource.com/chromium/src/+/6c18b1e861ec6a9c96d24b3bd962688e50c83597
3 years, 10 months ago (2017-02-06 19:05:43 UTC) #26
Sébastien Marchand
A revert of this CL (patchset #6 id:120001) has been created in https://codereview.chromium.org/2680683002/ by sebmarchand@chromium.org. ...
3 years, 10 months ago (2017-02-07 06:10:17 UTC) #27
Sébastien Marchand
PTAnL, I've switched to always using the version of pgomgr.exe from the VC/bin/amd64 directory as ...
3 years, 10 months ago (2017-02-08 19:19:55 UTC) #30
scottmg
lgtm
3 years, 10 months ago (2017-02-08 20:23:11 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575543002/240001
3 years, 10 months ago (2017-02-08 20:24:21 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 20:38:20 UTC) #36
Message was sent while issue was closed.
Committed patchset #11 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/4a19948e1bc13344a301c439445d...

Powered by Google App Engine
This is Rietveld 408576698