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

Issue 11753023: [telemetry] Clean up image decoding benchmark (Closed)

Created:
7 years, 11 months ago by nduca
Modified:
7 years, 11 months ago
Reviewers:
dtu, tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Clean up image decoding benchmark The image decoding benchmark still contained some logic for navigation/test control. The image_decoding_benchmark should measure image decodign times. Critically, the logic to make chrome/test/data/image_decoding/image_decoding.html do its work should be handled by the page runner, not the benchmark. To make this separation happen, three changes are made... First, page runner now notifies the test that naivgation will happen. This allows us to begin recording the timeline right before navigation. This is when timeline recording should begin for image decode tests. Second, this adds a post_navigate_javascript_to_execute method to the page. This allows us to call runBenchmark() on the image decoding benchmarks after we navigate. Finally, the benchmark uses the standard wait_for_javascript_expression to poll the isDone variable.The old code actually did this in python. R=tonyg NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175404

Patch Set 1 #

Patch Set 2 : helps if i upload a working patch #

Total comments: 2

Patch Set 3 : Two pagesets #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -14 lines) Patch
tools/perf/page_sets/image_decoding_benchmark.json View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
tools/perf/page_sets/image_stress_tests.json View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
tools/perf/page_sets/tough_image_cases.json View 1 2 1 chunk +19 lines, -4 lines 0 comments Download
tools/perf/perf_tools/image_decoding_benchmark.py View 1 2 1 chunk +18 lines, -8 lines 0 comments Download
tools/telemetry/telemetry/page.py View 1 chunk +3 lines, -0 lines 0 comments Download
tools/telemetry/telemetry/page_runner.py View 3 chunks +5 lines, -2 lines 0 comments Download
tools/telemetry/telemetry/page_test.py View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nduca
tony, wdyt? I'm thinking I might rename our WaitToLoad to be PerformPostNavigateActions() throughout the codebase ...
7 years, 11 months ago (2013-01-04 06:34:29 UTC) #1
nduca
7 years, 11 months ago (2013-01-04 20:19:05 UTC) #2
tonyg
lgtm with comments https://codereview.chromium.org/11753023/diff/2001/tools/perf/page_sets/tough_image_cases.json File tools/perf/page_sets/tough_image_cases.json (right): https://codereview.chromium.org/11753023/diff/2001/tools/perf/page_sets/tough_image_cases.json#newcode23 tools/perf/page_sets/tough_image_cases.json:23: "url": "http://www.free-pictures-photos.com/aviation/airplane-306.jpg" This test is currently ...
7 years, 11 months ago (2013-01-04 23:26:32 UTC) #3
nduca
@tonyg, ptal if you dont mind. When this lands, i'll land https://codereview.chromium.org/11784010/. Then when that ...
7 years, 11 months ago (2013-01-05 02:24:52 UTC) #4
tonyg
On 2013/01/05 02:24:52, nduca wrote: > @tonyg, ptal if you dont mind. When this lands, ...
7 years, 11 months ago (2013-01-07 19:35:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/11753023/12001
7 years, 11 months ago (2013-01-07 22:32:40 UTC) #6
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 22:38:55 UTC) #7
Message was sent while issue was closed.
Change committed as 175404

Powered by Google App Engine
This is Rietveld 408576698