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

Issue 871093002: gpu: Perf test to check costs of texture upload at different stages. (Closed)

Created:
5 years, 11 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: Perf test to check costs of texture upload at different stages. Simple test that uploads and draws a texture on an offscreen surface. The upload/draw code is run multiple times, timings are collected and the average elapsed milliseconds are printed out using the perf_test framework. The test target has not been added to the perf tests the are automatically run yet and has to be manually run. BUG=423481 Committed: https://crrev.com/3e60aaa94331d8f7a80097b472bba3eb0b177116 Cr-Commit-Position: refs/heads/master@{#313756}

Patch Set 1 #

Total comments: 12

Patch Set 2 : "format" and "type" are now a parameter. Added a Measurement struct. #

Total comments: 6

Patch Set 3 : Removed blacklisted c++11 features. Changed a map to a vector when aggregating measurements. Use Ti… #

Total comments: 10

Patch Set 4 : Back to a map for aggregating measurements. Changed the namespace to gpu. #

Patch Set 5 : Geometry dependency added to build files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -5 lines) Patch
M gpu/BUILD.gn View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A + gpu/perftests/run_all_tests.cc View 2 chunks +5 lines, -5 lines 0 comments Download
A gpu/perftests/texture_upload_perftest.cc View 1 2 3 1 chunk +258 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
reveman
https://codereview.chromium.org/871093002/diff/1/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/1/gpu/perftests/texture_upload_perftest.cc#newcode172 gpu/perftests/texture_upload_perftest.cc:172: const GLenum type = GL_UNSIGNED_BYTE; Should format, type be ...
5 years, 11 months ago (2015-01-27 13:33:43 UTC) #2
Daniele Castagna
https://codereview.chromium.org/871093002/diff/1/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/1/gpu/perftests/texture_upload_perftest.cc#newcode172 gpu/perftests/texture_upload_perftest.cc:172: const GLenum type = GL_UNSIGNED_BYTE; On 2015/01/27 13:33:43, reveman ...
5 years, 11 months ago (2015-01-27 19:00:42 UTC) #3
reveman
https://codereview.chromium.org/871093002/diff/20001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/20001/gpu/perftests/texture_upload_perftest.cc#newcode157 gpu/perftests/texture_upload_perftest.cc:157: float wall_time; Please use base::TimeDelta. https://codereview.chromium.org/871093002/diff/20001/gpu/perftests/texture_upload_perftest.cc#newcode184 gpu/perftests/texture_upload_perftest.cc:184: Measurement{"teximage2d", tex_timer.Elapsed().InMillisecondsF()}); ...
5 years, 11 months ago (2015-01-27 22:58:31 UTC) #4
Daniele Castagna
https://codereview.chromium.org/871093002/diff/20001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/20001/gpu/perftests/texture_upload_perftest.cc#newcode157 gpu/perftests/texture_upload_perftest.cc:157: float wall_time; On 2015/01/27 22:58:31, reveman (OOO Jan 28 ...
5 years, 10 months ago (2015-01-28 17:28:39 UTC) #6
piman
LGTM overall, some nits, some suggestions for follow-up. https://codereview.chromium.org/871093002/diff/40001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/40001/gpu/perftests/texture_upload_perftest.cc#newcode21 gpu/perftests/texture_upload_perftest.cc:21: namespace ...
5 years, 10 months ago (2015-01-28 18:35:16 UTC) #7
Daniele Castagna
Thank you Antoine for looking into this so quickly. https://codereview.chromium.org/871093002/diff/40001/gpu/perftests/texture_upload_perftest.cc File gpu/perftests/texture_upload_perftest.cc (right): https://codereview.chromium.org/871093002/diff/40001/gpu/perftests/texture_upload_perftest.cc#newcode21 gpu/perftests/texture_upload_perftest.cc:21: ...
5 years, 10 months ago (2015-01-28 19:23:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871093002/60001
5 years, 10 months ago (2015-01-29 16:21:45 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/18488)
5 years, 10 months ago (2015-01-29 16:31:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/871093002/80001
5 years, 10 months ago (2015-01-29 19:10:18 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-01-29 19:24:15 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 19:25:11 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3e60aaa94331d8f7a80097b472bba3eb0b177116
Cr-Commit-Position: refs/heads/master@{#313756}

Powered by Google App Engine
This is Rietveld 408576698