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

Issue 944073005: gpu: Add support for gpu_perftests for android. (Closed)

Created:
5 years, 10 months ago by Daniele Castagna
Modified:
5 years, 10 months ago
Reviewers:
reveman, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Add support for gpu_perftests for android. This cl adds a gpu_perftests_apk target to build an apk for android. It also adds a check that detects if the timings are valid and discards them if they're not. The number of valid runs (where we could get timings) is printed out along the other perf results as "sample_runs". BUG=423481 Committed: https://crrev.com/7396d547d657957fe50469cfbb08619baed406b8 Cr-Commit-Position: refs/heads/master@{#317756}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address reveman's comments. #

Patch Set 3 : size_t to int to avoid a Visual C++ warning. #

Patch Set 4 : Add a conversion to size_t to disambiguate an overload function call. #

Total comments: 2

Patch Set 5 : Defend against divide by 0. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -13 lines) Patch
M gpu/gpu.gyp View 2 chunks +28 lines, -0 lines 0 comments Download
M gpu/perftests/texture_upload_perftest.cc View 1 2 3 4 3 chunks +25 lines, -13 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Daniele Castagna
5 years, 10 months ago (2015-02-21 00:11:59 UTC) #2
reveman
lgtm with nits https://codereview.chromium.org/944073005/diff/1/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/944073005/diff/1/gpu/perftests/texture_upload_perftest.cc#newcode271 gpu/perftests/texture_upload_perftest.cc:271: if (i >= kUploadPerfWarmupRuns) { nit: ...
5 years, 10 months ago (2015-02-23 16:48:29 UTC) #3
Daniele Castagna
https://codereview.chromium.org/944073005/diff/1/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/944073005/diff/1/gpu/perftests/texture_upload_perftest.cc#newcode271 gpu/perftests/texture_upload_perftest.cc:271: if (i >= kUploadPerfWarmupRuns) { On 2015/02/23 at 16:48:29, ...
5 years, 10 months ago (2015-02-23 16:59:26 UTC) #6
piman
lgtm https://codereview.chromium.org/944073005/diff/60001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/944073005/diff/60001/gpu/perftests/texture_upload_perftest.cc#newcode283 gpu/perftests/texture_upload_perftest.cc:283: const auto m = entry.second.Divide(successful_runs); nit: may want ...
5 years, 10 months ago (2015-02-24 01:11:54 UTC) #7
Daniele Castagna
Thank you for the review. https://codereview.chromium.org/944073005/diff/60001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/944073005/diff/60001/gpu/perftests/texture_upload_perftest.cc#newcode283 gpu/perftests/texture_upload_perftest.cc:283: const auto m = ...
5 years, 10 months ago (2015-02-24 02:42:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944073005/80001
5 years, 10 months ago (2015-02-24 02:44:45 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-24 05:24:55 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 05:25:40 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7396d547d657957fe50469cfbb08619baed406b8
Cr-Commit-Position: refs/heads/master@{#317756}

Powered by Google App Engine
This is Rietveld 408576698