OLD | NEW |
(Empty) | |
| 1 { |
| 2 "description": "Tough scheduler latency test cases", |
| 3 "smoothness": { |
| 4 "action": "scroll" |
| 5 }, |
| 6 "pages": [ |
| 7 { |
| 8 "url": "file://tough_scheduling_cases/simple_text_page.html", |
| 9 "why": "Simple scrolling baseline" |
| 10 }, |
| 11 { |
| 12 "url": "file://tough_scheduling_cases/simple_text_page.html#main_busy", |
| 13 "why": "Simulate oversubscribed main thread", |
| 14 "navigate_steps": [ |
| 15 { "action": "navigate" }, |
| 16 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.008 } |
| 17 ] |
| 18 }, |
| 19 { |
| 20 "url": "file://tough_scheduling_cases/simple_text_page.html#main_very_busy
", |
| 21 "why": "Simulate oversubscribed main thread", |
| 22 "navigate_steps": [ |
| 23 { "action": "navigate" }, |
| 24 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.024 } |
| 25 ] |
| 26 }, |
| 27 { |
| 28 "url": "file://tough_scheduling_cases/simple_text_page.html#medium_layers"
, |
| 29 "why": "Simulate a page with a a few graphics layers", |
| 30 "navigate_steps": [ |
| 31 { "action": "navigate" }, |
| 32 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.004 }, |
| 33 { "action": "synthetic_delay", "name": "cc.DrawAndSwap", "target_duratio
n": 0.004 }, |
| 34 { "action": "synthetic_delay", "name": "gpu.SwapBuffers", "target_durati
on": 0.004 } |
| 35 ] |
| 36 }, |
| 37 { |
| 38 "url": "file://tough_scheduling_cases/simple_text_page.html#many_layers", |
| 39 "why": "Simulate a page with many graphics layers", |
| 40 "navigate_steps": [ |
| 41 { "action": "navigate" }, |
| 42 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.012 }, |
| 43 { "action": "synthetic_delay", "name": "cc.DrawAndSwap", "target_duratio
n": 0.012 }, |
| 44 { "action": "synthetic_delay", "name": "gpu.SwapBuffers", "target_durati
on": 0.012 } |
| 45 ] |
| 46 }, |
| 47 { |
| 48 "url": "file://tough_scheduling_cases/simple_text_page.html#medium_raster"
, |
| 49 "why": "Simulate a page with expensive recording and rasterization", |
| 50 "navigate_steps": [ |
| 51 { "action": "navigate" }, |
| 52 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.004 }, |
| 53 { "action": "synthetic_delay", "name": "cc.RasterRequiredForActivation",
"target_duration": 0.004 }, |
| 54 { "action": "synthetic_delay", "name": "gpu.AsyncTexImage", "target_dura
tion": 0.004 } |
| 55 ] |
| 56 }, |
| 57 { |
| 58 "url": "file://tough_scheduling_cases/simple_text_page.html#heavy_raster", |
| 59 "why": "Simulate a page with expensive recording and rasterization", |
| 60 "navigate_steps": [ |
| 61 { "action": "navigate" }, |
| 62 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.024 }, |
| 63 { "action": "synthetic_delay", "name": "cc.RasterRequiredForActivation",
"target_duration": 0.024 }, |
| 64 { "action": "synthetic_delay", "name": "gpu.AsyncTexImage", "target_dura
tion": 0.024 } |
| 65 ] |
| 66 }, |
| 67 { |
| 68 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html", |
| 69 "why": "Touch handler scrolling baseline" |
| 70 }, |
| 71 { |
| 72 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html#medium_
handler", |
| 73 "why": "Medium cost touch handler", |
| 74 "navigate_steps": [ |
| 75 { "action": "navigate" }, |
| 76 { "action": "synthetic_delay", "name": "blink.HandleInputEvent", "target
_duration": 0.008 } |
| 77 ] |
| 78 }, |
| 79 { |
| 80 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html#slow_ha
ndler", |
| 81 "why": "Slow touch handler", |
| 82 "navigate_steps": [ |
| 83 { "action": "navigate" }, |
| 84 { "action": "synthetic_delay", "name": "blink.HandleInputEvent", "target
_duration": 0.024 } |
| 85 ] |
| 86 }, |
| 87 { |
| 88 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html#janky_h
andler", |
| 89 "why": "Touch handler that often takes a long time", |
| 90 "navigate_steps": [ |
| 91 { "action": "navigate" }, |
| 92 { "action": "synthetic_delay", "name": "blink.HandleInputEvent", "target
_duration": 0.024, "mode": "alternating" } |
| 93 ] |
| 94 }, |
| 95 { |
| 96 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html#occasio
nally_janky_handler", |
| 97 "why": "Touch handler that occasionally takes a long time", |
| 98 "navigate_steps": [ |
| 99 { "action": "navigate" }, |
| 100 { "action": "synthetic_delay", "name": "blink.HandleInputEvent", "target
_duration": 0.024, "mode": "oneshot" } |
| 101 ] |
| 102 }, |
| 103 { |
| 104 "url": "file://tough_scheduling_cases/touch_handler_scrolling.html#super_s
low_handler", |
| 105 "why": "Super expensive touch handler causes browser to scroll after a tim
eout", |
| 106 "navigate_steps": [ |
| 107 { "action": "navigate" }, |
| 108 { "action": "synthetic_delay", "name": "blink.HandleInputEvent", "target
_duration": 0.2 } |
| 109 ] |
| 110 }, |
| 111 { |
| 112 "url": "file://tough_scheduling_cases/raf.html", |
| 113 "why": "requestAnimationFrame scrolling baseline" |
| 114 }, |
| 115 { |
| 116 "url": "file://tough_scheduling_cases/raf_canvas.html", |
| 117 "why": "Test canvas blocking behavior" |
| 118 }, |
| 119 { |
| 120 "url": "file://tough_scheduling_cases/raf.html#medium_handler", |
| 121 "why": "Test a moderately heavy requestAnimationFrame handler", |
| 122 "navigate_steps": [ |
| 123 { "action": "navigate" }, |
| 124 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.004 }, |
| 125 { "action": "synthetic_delay", "name": "cc.RasterRequiredForActivation",
"target_duration": 0.004 }, |
| 126 { "action": "synthetic_delay", "name": "gpu.AsyncTexImage", "target_dura
tion": 0.004 } |
| 127 ] |
| 128 }, |
| 129 { |
| 130 "url": "file://tough_scheduling_cases/raf.html#heavy_handler", |
| 131 "why": "Test a moderately heavy requestAnimationFrame handler", |
| 132 "navigate_steps": [ |
| 133 { "action": "navigate" }, |
| 134 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.024 }, |
| 135 { "action": "synthetic_delay", "name": "cc.RasterRequiredForActivation",
"target_duration": 0.024 }, |
| 136 { "action": "synthetic_delay", "name": "gpu.AsyncTexImage", "target_dura
tion": 0.024 } |
| 137 ] |
| 138 }, |
| 139 { |
| 140 "url": "file://tough_scheduling_cases/raf.html#gpu_bound", |
| 141 "why": "Simulate a heavily GPU bound page", |
| 142 "navigate_steps": [ |
| 143 { "action": "navigate" }, |
| 144 { "action": "synthetic_delay", "name": "gpu.SwapBuffers", "target_durati
on": 0.1 } |
| 145 ] |
| 146 }, |
| 147 { |
| 148 "url": "file://tough_scheduling_cases/raf_touch_animation.html", |
| 149 "why": "Stress test for the scheduler" |
| 150 }, |
| 151 { |
| 152 "url": "file://tough_scheduling_cases/raf_touch_animation.html#medium", |
| 153 "why": "Medium stress test for the scheduler", |
| 154 "navigate_steps": [ |
| 155 { "action": "navigate" }, |
| 156 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.004 }, |
| 157 { "action": "synthetic_delay", "name": "cc.DrawAndSwap", "target_duratio
n": 0.004 } |
| 158 ] |
| 159 }, |
| 160 { |
| 161 "url": "file://tough_scheduling_cases/raf_touch_animation.html#heavy", |
| 162 "why": "Heavy stress test for the scheduler", |
| 163 "navigate_steps": [ |
| 164 { "action": "navigate" }, |
| 165 { "action": "synthetic_delay", "name": "cc.BeginMainFrame", "target_dura
tion": 0.012 }, |
| 166 { "action": "synthetic_delay", "name": "cc.DrawAndSwap", "target_duratio
n": 0.012 } |
| 167 ] |
| 168 } |
| 169 ] |
| 170 } |
OLD | NEW |