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

Issue 1398793003: Parallelize run_corpus_tests.py. (Closed)

Created:
5 years, 2 months ago by Lei Zhang
Modified:
5 years, 2 months ago
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Parallelize run_corpus_tests.py. - Use the number of cores as the default -j value - Fall back to old code for -j 1 R=nparker@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/fd751f28cecce61ab36038799043639d570e0b26

Patch Set 1 #

Total comments: 8

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -42 lines) Patch
M testing/tools/common.py View 2 chunks +12 lines, -0 lines 0 comments Download
M testing/tools/pngdiffer.py View 2 chunks +23 lines, -22 lines 0 comments Download
M testing/tools/run_corpus_tests.py View 1 4 chunks +64 lines, -20 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Lei Zhang
I wrote this late last night and this is my solution for redirecting stdout + ...
5 years, 2 months ago (2015-10-09 17:53:11 UTC) #2
Tom Sepez
Looks OK, but I'll defer to the python gurus on this one.
5 years, 2 months ago (2015-10-09 19:41:59 UTC) #3
Lei Zhang
On 2015/10/09 19:41:59, Tom Sepez wrote: > Looks OK, but I'll defer to the python ...
5 years, 2 months ago (2015-10-09 19:44:01 UTC) #4
Nathan Parker
I think this is a reasonable way to redirect. https://codereview.chromium.org/1398793003/diff/1/testing/tools/common.py File testing/tools/common.py (right): https://codereview.chromium.org/1398793003/diff/1/testing/tools/common.py#newcode23 testing/tools/common.py:23: ...
5 years, 2 months ago (2015-10-09 19:55:05 UTC) #5
Lei Zhang
https://codereview.chromium.org/1398793003/diff/1/testing/tools/common.py File testing/tools/common.py (right): https://codereview.chromium.org/1398793003/diff/1/testing/tools/common.py#newcode23 testing/tools/common.py:23: sys.stdout.write(subprocess.check_output(cmd, stderr=subprocess.STDOUT)) On 2015/10/09 19:55:04, nparker wrote: > Does ...
5 years, 2 months ago (2015-10-09 20:14:33 UTC) #6
Nathan Parker
lgtm
5 years, 2 months ago (2015-10-09 20:32:45 UTC) #7
Lei Zhang
5 years, 2 months ago (2015-10-09 20:43:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fd751f28cecce61ab36038799043639d570e0b26 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698