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

Side by Side 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "description": "Video Stack Perf benchmark", 2 "description": "Video Stack Perf benchmark",
3 "play_audio": [
4 { "action": "play",
5 "selector": "#audio_1",
6 "wait_for_playing": true,
7 "wait_for_ended": true
8 }
9 ],
10 "play_video": [
11 { "action": "play",
12 "selector": "#video_1",
13 "wait_for_playing": true,
14 "wait_for_ended": true
15 }
shadi 2013/07/18 17:00:02 Probably we can combine those two actions into one
16 ],
3 "pages": [ 17 "pages": [
4 { 18 {
5 "url": "file:///tough_video_cases/video.html", 19 "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
6 "media_metrics": [ 20 "media_metrics": {"action": "play_audio"}
7 { "action": "play", 21 },
8 "selector": "#video_1", 22 {
9 "wait_for_playing": true, 23 "url": "file:///tough_video_cases/video.html?src=crowd.ogg&id=audio_1&type =audio",
10 "wait_for_ended": true 24 "media_metrics": {"action": "play_audio"}
11 } 25 },
12 ] 26 {
27 "url": "file:///tough_video_cases/video.html?src=crowd1080.mp4&id=video_1& type=video",
28 "media_metrics": {"action": "play_video"}
29 },
30 {
31 "url": "file:///tough_video_cases/video.html?src=crowd1080.ogv&id=video_1& type=video",
32 "media_metrics": {"action": "play_video"}
33 },
34 {
35 "url": "file:///tough_video_cases/video.html?src=crowd1080.webm&id=video_1 &type=video",
36 "media_metrics": {"action": "play_video"}
37 },
38 {
39 "url": "file:///tough_video_cases/video.html?src=crowd2160.mp4&id=video_1& type=video",
40 "media_metrics": {"action": "play_video"}
41 },
42 {
43 "url": "file:///tough_video_cases/video.html?src=crowd2160.ogv&id=video_1& type=video",
44 "media_metrics": {"action": "play_video"}
45 },
46 {
47 "url": "file:///tough_video_cases/video.html?src=crowd2160.webm&id=video_1 &type=video",
48 "media_metrics": {"action": "play_video"}
49 },
50 {
51 "url": "file:///tough_video_cases/video.html?src=tulip2.mp3&id=audio_1&typ e=audio",
52 "media_metrics": {"action": "play_audio"}
53 },
54 {
55 "url": "file:///tough_video_cases/video.html?src=tulip2.ogg&id=audio_1&typ e=audio",
56 "media_metrics": {"action": "play_audio"}
57 },
58 {
59 "url": "file:///tough_video_cases/video.html?src=tulip2.wav&id=audio_1&typ e=audio",
60 "media_metrics": {"action": "play_audio"}
61 },
62 {
63 "url": "file:///tough_video_cases/video.html?src=tulip2.mp4&id=video_1&typ e=video",
64 "media_metrics": {"action": "play_video"}
65 },
66 {
67 "url": "file:///tough_video_cases/video.html?src=tulip2.ogv&id=video_1&typ e=video",
68 "media_metrics": {"action": "play_video"}
69 },
70 {
71 "url": "file:///tough_video_cases/video.html?src=tulip2.webm&id=video_1&ty pe=video",
72 "media_metrics": {"action": "play_video"}
13 } 73 }
14 ] 74 ]
15 } 75 }
OLDNEW
« 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