2 "description": "Tough scheduler latency test cases",
8 "url": "file://tough_scheduling_cases/simple_text_page.html",
9 "why": "Simple scrolling baseline"
12 "url": "file://tough_scheduling_cases/simple_text_page.html?main_busy",
13 "why": "Simulate oversubscribed main thread",
15 "cc.BeginMainFrame": { "target_duration": 0.008 }
19 "url": "file://tough_scheduling_cases/simple_text_page.html?main_very_busy",
20 "why": "Simulate oversubscribed main thread",
22 "cc.BeginMainFrame": { "target_duration": 0.024 }
26 "url": "file://tough_scheduling_cases/simple_text_page.html?medium_layers",
27 "why": "Simulate a page with a a few graphics layers",
29 "cc.BeginMainFrame": { "target_duration": 0.004 },
30 "cc.DrawAndSwap": { "target_duration": 0.004 },
31 "gpu.SwapBuffers": { "target_duration": 0.004 }
35 "url": "file://tough_scheduling_cases/simple_text_page.html?many_layers",
36 "why": "Simulate a page with many graphics layers",
38 "cc.BeginMainFrame": { "target_duration": 0.012 },
39 "cc.DrawAndSwap": { "target_duration": 0.012 },
40 "gpu.SwapBuffers": { "target_duration": 0.012 }
44 "url": "file://tough_scheduling_cases/simple_text_page.html?medium_raster",
45 "why": "Simulate a page with expensive recording and rasterization",
47 "cc.BeginMainFrame": { "target_duration": 0.004 },
48 "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
49 "gpu.AsyncTexImage": { "target_duration": 0.004 }
53 "url": "file://tough_scheduling_cases/simple_text_page.html?heavy_raster",
54 "why": "Simulate a page with expensive recording and rasterization",
56 "cc.BeginMainFrame": { "target_duration": 0.024 },
57 "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
58 "gpu.AsyncTexImage": { "target_duration": 0.024 }
62 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html",
63 "why": "Touch handler scrolling baseline"
66 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html?medium_handler",
67 "why": "Medium cost touch handler",
69 "blink.HandleInputEvent": { "target_duration": 0.008 }
73 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html?slow_handler",
74 "why": "Slow touch handler",
76 "blink.HandleInputEvent": { "target_duration": 0.024 }
80 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html?janky_handler",
81 "why": "Touch handler that often takes a long time",
83 "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "alternating" }
87 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html?occasionally_janky_handler",
88 "why": "Touch handler that occasionally takes a long time",
90 "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "oneshot" }
94 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html?super_slow_handler",
95 "why": "Super expensive touch handler causes browser to scroll after a timeout",
97 "blink.HandleInputEvent": { "target_duration": 0.2 }
101 "url": "file://tough_scheduling_cases/div_touch_handler.html",
102 "why": "Super expensive touch handler that only occupies a part of the page",
103 "synthetic_delays": {
104 "blink.HandleInputEvent": { "target_duration": 0.2 }
108 "url": "file://tough_scheduling_cases/raf.html",
109 "why": "requestAnimationFrame scrolling baseline"
112 "url": "file://tough_scheduling_cases/raf_canvas.html",
113 "why": "Test canvas blocking behavior"
116 "url": "file://tough_scheduling_cases/raf.html?medium_handler",
117 "why": "Test a moderately heavy requestAnimationFrame handler",
118 "synthetic_delays": {
119 "cc.BeginMainFrame": { "target_duration": 0.004 },
120 "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
121 "gpu.AsyncTexImage": { "target_duration": 0.004 }
125 "url": "file://tough_scheduling_cases/raf.html?heavy_handler",
126 "why": "Test a moderately heavy requestAnimationFrame handler",
127 "synthetic_delays": {
128 "cc.BeginMainFrame": { "target_duration": 0.024 },
129 "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
130 "gpu.AsyncTexImage": { "target_duration": 0.024 }
134 "url": "file://tough_scheduling_cases/raf.html?gpu_bound",
135 "why": "Simulate a heavily GPU bound page",
136 "synthetic_delays": {
137 "gpu.SwapBuffers": { "target_duration": 0.1 }
141 "url": "file://tough_scheduling_cases/raf.html?heavy_first_frame",
142 "why": "Test a requestAnimationFrame handler with a heavy first frame",
143 "synthetic_delays": {
144 "cc.BeginMainFrame": { "target_duration": 0.15 }
148 "url": "file://tough_scheduling_cases/raf_animation.html",
149 "why": "Test a requestAnimationFrame handler with concurrent CSS animation"
152 "url": "file://tough_scheduling_cases/raf_touch_animation.html",
153 "why": "Stress test for the scheduler"
156 "url": "file://tough_scheduling_cases/raf_touch_animation.html?medium",
157 "why": "Medium stress test for the scheduler",
158 "synthetic_delays": {
159 "cc.BeginMainFrame": { "target_duration": 0.004 },
160 "cc.DrawAndSwap": { "target_duration": 0.004 }
164 "url": "file://tough_scheduling_cases/raf_touch_animation.html?heavy",
165 "why": "Heavy stress test for the scheduler",
166 "synthetic_delays": {
167 "cc.BeginMainFrame": { "target_duration": 0.012 },
168 "cc.DrawAndSwap": { "target_duration": 0.012 }
172 "url": "file://tough_scheduling_cases/split_animation.html",
173 "why": "Both main and impl thread animating concurrently",
174 "smoothness": { "action": "wait", "seconds": 3 }