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

Issue 151283003: Perf test to measure loading CDM library. (Closed)

Created:
6 years, 10 months ago by shadi
Modified:
6 years, 9 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, M-A Ruel
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Perf test to measure loading CDM library. BUG=337674 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254088

Patch Set 1 #

Total comments: 14

Patch Set 2 : Clean up .gyp. Added clearkeycdm test. #

Patch Set 3 : nit #

Total comments: 8

Patch Set 4 : make perf test generic to libraries #

Total comments: 1

Patch Set 5 : add cdm adapter tests #

Patch Set 6 : add cdm adapter test cases #

Total comments: 7

Patch Set 7 : Unload library after each load, allow full library names #

Total comments: 4

Patch Set 8 : nits #

Total comments: 8

Patch Set 9 : nits, master rebase #

Total comments: 11

Patch Set 10 : re: thestig@ comments #

Total comments: 1

Patch Set 11 : re: tonyg@ comments #

Patch Set 12 : fix windows StringType issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -0 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/load_library_perf_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +62 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 42 (0 generated)
shadi1
I created a new target that measures the time it takes to load widevinecdm library. ...
6 years, 10 months ago (2014-02-01 01:50:07 UTC) #1
ddorwin
Thanks. LG overall. Mostly nits. https://codereview.chromium.org/151283003/diff/1/chrome/browser/media/load_cdm_benchmark_test.cc File chrome/browser/media/load_cdm_benchmark_test.cc (right): https://codereview.chromium.org/151283003/diff/1/chrome/browser/media/load_cdm_benchmark_test.cc#newcode14 chrome/browser/media/load_cdm_benchmark_test.cc:14: const char kWidevineAdapterName[] = ...
6 years, 10 months ago (2014-02-06 19:57:33 UTC) #2
shadi1
Thanks PTAL. It seems the .gyp base file in the CL is missing now. So ...
6 years, 10 months ago (2014-02-07 23:37:17 UTC) #3
ddorwin
LG. A few minor things. https://codereview.chromium.org/151283003/diff/260001/chrome/browser/media/load_cdm_benchmark_test.cc File chrome/browser/media/load_cdm_benchmark_test.cc (right): https://codereview.chromium.org/151283003/diff/260001/chrome/browser/media/load_cdm_benchmark_test.cc#newcode28 chrome/browser/media/load_cdm_benchmark_test.cc:28: perf_test::PrintResult("time_to_load", Just to be ...
6 years, 10 months ago (2014-02-07 23:59:12 UTC) #4
shadi1
Updated the files to be generic. With current changes the output is something like: *RESULT ...
6 years, 10 months ago (2014-02-08 01:01:22 UTC) #5
ddorwin
lgtm Thanks! Yay! https://codereview.chromium.org/151283003/diff/340001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/340001/chrome/browser/load_library_perf_test.cc#newcode39 chrome/browser/load_library_perf_test.cc:39: MeasureTimeToLoad("widevinecdm"); Should we load the ...adapter? ...
6 years, 10 months ago (2014-02-08 01:26:59 UTC) #6
shadi1
The CQ bit was checked by shadi@google.com
6 years, 10 months ago (2014-02-08 01:49:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shadi@chromium.org/151283003/440001
6 years, 10 months ago (2014-02-08 01:49:59 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-08 02:20:33 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=49086
6 years, 10 months ago (2014-02-08 02:20:34 UTC) #10
xhwang
lgtm % nits https://codereview.chromium.org/151283003/diff/440001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/440001/chrome/browser/load_library_perf_test.cc#newcode18 chrome/browser/load_library_perf_test.cc:18: library_full_name = base::FilePath::FromUTF16Unsafe( Can you merge ...
6 years, 10 months ago (2014-02-08 05:29:38 UTC) #11
shadi1
PTAL (again) on latest change. https://codereview.chromium.org/151283003/diff/440001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/440001/chrome/browser/load_library_perf_test.cc#newcode18 chrome/browser/load_library_perf_test.cc:18: library_full_name = base::FilePath::FromUTF16Unsafe( On ...
6 years, 10 months ago (2014-02-10 20:22:27 UTC) #12
ddorwin
https://codereview.chromium.org/151283003/diff/570001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/570001/chrome/browser/load_library_perf_test.cc#newcode34 chrome/browser/load_library_perf_test.cc:34: void MeasureTimeToLoad(const std::string& short_library_name) { nit: The name should ...
6 years, 10 months ago (2014-02-10 21:19:05 UTC) #13
shadi1
https://codereview.chromium.org/151283003/diff/570001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/570001/chrome/browser/load_library_perf_test.cc#newcode34 chrome/browser/load_library_perf_test.cc:34: void MeasureTimeToLoad(const std::string& short_library_name) { On 2014/02/10 21:19:06, ddorwin ...
6 years, 10 months ago (2014-02-10 23:49:07 UTC) #14
shadi1
ddorwin@: any comments? maruel@ for OWNERS LGTM please
6 years, 10 months ago (2014-02-12 02:20:15 UTC) #15
M-A Ruel
On 2014/02/12 02:20:15, shadi1 wrote: > maruel@ for OWNERS LGTM please I'm not sure why ...
6 years, 10 months ago (2014-02-12 02:32:19 UTC) #16
ddorwin
lgtm % nits. Thanks. https://codereview.chromium.org/151283003/diff/630001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/630001/chrome/browser/load_library_perf_test.cc#newcode35 chrome/browser/load_library_perf_test.cc:35: // name. Check base::GetNativeLibraryName() for ...
6 years, 10 months ago (2014-02-12 18:12:51 UTC) #17
shadi1
Sorry Maruel, I thought I saw your name on *.gypi= :) Picked thestig@ randomly from ...
6 years, 10 months ago (2014-02-12 18:34:05 UTC) #18
shadi1
Sorry I misunderstood the per-file *.gypi=* to mean I should pick someone from the list ...
6 years, 10 months ago (2014-02-12 18:45:01 UTC) #19
Lei Zhang
https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc#newcode1 chrome/browser/load_library_perf_test.cc:1: // Copyright (c) 2014 The Chromium Authors. All rights ...
6 years, 10 months ago (2014-02-12 20:25:05 UTC) #20
Lei Zhang
https://codereview.chromium.org/151283003/diff/710001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/151283003/diff/710001/chrome/chrome_tests.gypi#newcode2818 chrome/chrome_tests.gypi:2818: 'type': '<(gtest_target_type)', Is this going to create another test ...
6 years, 10 months ago (2014-02-12 20:26:17 UTC) #21
shadi1
thestig@: Thanks for the comments, PTAL, replies inlined. https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc#newcode1 chrome/browser/load_library_perf_test.cc:1: // ...
6 years, 10 months ago (2014-02-12 20:49:23 UTC) #22
Lei Zhang
tonyg: Are we creating more test binaries these days or trying to consolidate them? Can ...
6 years, 10 months ago (2014-02-12 21:02:50 UTC) #23
Lei Zhang
lgtm with tonyg's approval. https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc File chrome/browser/load_library_perf_test.cc (right): https://codereview.chromium.org/151283003/diff/710001/chrome/browser/load_library_perf_test.cc#newcode18 chrome/browser/load_library_perf_test.cc:18: base::FilePath library_path = output_dir.Append(library_name); On ...
6 years, 10 months ago (2014-02-12 21:03:55 UTC) #24
shadi1
Ping. tonyg@ can you PTAL?
6 years, 10 months ago (2014-02-13 22:10:40 UTC) #25
tonyg
I have a question about the merit of a load library benchmark. As you are ...
6 years, 10 months ago (2014-02-14 18:11:30 UTC) #26
tonyg
https://codereview.chromium.org/151283003/diff/780001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/151283003/diff/780001/chrome/chrome_tests.gypi#newcode2817 chrome/chrome_tests.gypi:2817: If we want to run this on the chromium.perf ...
6 years, 10 months ago (2014-02-14 18:11:47 UTC) #27
shadi1
On Fri, Feb 14, 2014 at 10:11 AM, <tonyg@chromium.org> wrote: > I have a question ...
6 years, 10 months ago (2014-02-14 18:37:51 UTC) #28
ddorwin
On Fri, Feb 14, 2014 at 10:37 AM, Shadi Khalek <shadi@google.com> wrote: > On Fri, ...
6 years, 10 months ago (2014-02-14 21:30:59 UTC) #29
shadi1
tonyg@ PTAL
6 years, 10 months ago (2014-02-18 19:22:59 UTC) #30
shadi1
tonyg@ any comments?
6 years, 10 months ago (2014-02-24 19:49:55 UTC) #31
shadi1
pinging again tonyg....
6 years, 10 months ago (2014-02-27 00:15:36 UTC) #32
shadi1
pinging again tonyg....
6 years, 10 months ago (2014-02-27 00:15:36 UTC) #33
tonyg
lgtm
6 years, 10 months ago (2014-02-27 05:58:29 UTC) #34
shadi1
The CQ bit was checked by shadi@google.com
6 years, 9 months ago (2014-02-27 20:38:24 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shadi@chromium.org/151283003/940001
6 years, 9 months ago (2014-02-27 20:39:32 UTC) #36
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 23:12:38 UTC) #37
commit-bot: I haz the power
Retried try job too often on win for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number=153944
6 years, 9 months ago (2014-02-27 23:12:38 UTC) #38
shadi1
The CQ bit was checked by shadi@google.com
6 years, 9 months ago (2014-02-28 00:45:38 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shadi@chromium.org/151283003/1010001
6 years, 9 months ago (2014-02-28 00:46:08 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shadi@chromium.org/151283003/1010001
6 years, 9 months ago (2014-02-28 01:17:53 UTC) #41
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 10:40:38 UTC) #42
Message was sent while issue was closed.
Change committed as 254088

Powered by Google App Engine
This is Rietveld 408576698