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

Unified Diff: tools/perf/page_sets/tough_video_cases.json

Issue 19623003: First page-set for media-related metrics measurement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Define frequently used action at top of page-set. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/perf/page_sets/tough_video_cases.json
diff --git a/tools/perf/page_sets/tough_video_cases.json b/tools/perf/page_sets/tough_video_cases.json
index e1b9074519a047e0e84fb19ef883f0f9e4c49c76..5f4f59338b9dc80c93c780559abc74c164263a63 100644
--- a/tools/perf/page_sets/tough_video_cases.json
+++ b/tools/perf/page_sets/tough_video_cases.json
@@ -1,15 +1,75 @@
{
"description": "Video Stack Perf benchmark",
+ "play_audio": [
+ { "action": "play",
+ "selector": "#audio_1",
+ "wait_for_playing": true,
+ "wait_for_ended": true
+ }
+ ],
+ "play_video": [
+ { "action": "play",
+ "selector": "#video_1",
+ "wait_for_playing": true,
+ "wait_for_ended": true
+ }
shadi 2013/07/18 17:00:02 Probably we can combine those two actions into one
+ ],
"pages": [
{
- "url": "file:///tough_video_cases/video.html",
- "media_metrics": [
- { "action": "play",
- "selector": "#video_1",
- "wait_for_playing": true,
- "wait_for_ended": true
- }
- ]
+ "url": "file:///tough_video_cases/video.html?src=crowd.wav&id=audio_1&type=audio",
shadi 2013/07/18 17:00:02 We don't really need to set the ID. We have two op
+ "media_metrics": {"action": "play_audio"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd.ogg&id=audio_1&type=audio",
+ "media_metrics": {"action": "play_audio"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd1080.mp4&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd1080.ogv&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd1080.webm&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd2160.mp4&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd2160.ogv&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=crowd2160.webm&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.mp3&id=audio_1&type=audio",
+ "media_metrics": {"action": "play_audio"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.ogg&id=audio_1&type=audio",
+ "media_metrics": {"action": "play_audio"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.wav&id=audio_1&type=audio",
+ "media_metrics": {"action": "play_audio"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.mp4&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.ogv&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
+ },
+ {
+ "url": "file:///tough_video_cases/video.html?src=tulip2.webm&id=video_1&type=video",
+ "media_metrics": {"action": "play_video"}
}
]
}
« no previous file with comments | « no previous file | tools/perf/page_sets/tough_video_cases/crowd.ogg » ('j') | tools/perf/page_sets/tough_video_cases/video.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698