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

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

Issue 103143007: telemetry: Use trace categories to configure synthetic delays (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added scheduler benchmark and unittest. Created 6 years, 11 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
« no previous file with comments | « tools/perf/metrics/smoothness_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/tough_scheduling_cases.json
diff --git a/tools/perf/page_sets/tough_scheduling_cases.json b/tools/perf/page_sets/tough_scheduling_cases.json
index 418e0f1324f1dccb74af28875f3edc5920d6ad17..538633ed08511bf9b939f8d650aacbc13def27c5 100644
--- a/tools/perf/page_sets/tough_scheduling_cases.json
+++ b/tools/perf/page_sets/tough_scheduling_cases.json
@@ -6,261 +6,156 @@
"pages": [
{
"url": "file://tough_scheduling_cases/simple_text_page.html",
- "why": "Simple scrolling baseline",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays" }
- ]
+ "why": "Simple scrolling baseline"
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?main_busy",
"why": "Simulate oversubscribed main thread",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.008 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.008 }
+ }
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?main_very_busy",
"why": "Simulate oversubscribed main thread",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.024 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.024 }
+ }
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?medium_layers",
"why": "Simulate a page with a a few graphics layers",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.004 },
- "cc.DrawAndSwap": { "target_duration": 0.004 },
- "gpu.SwapBuffers": { "target_duration": 0.004 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.004 },
+ "cc.DrawAndSwap": { "target_duration": 0.004 },
+ "gpu.SwapBuffers": { "target_duration": 0.004 }
+ }
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?many_layers",
"why": "Simulate a page with many graphics layers",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.012 },
- "cc.DrawAndSwap": { "target_duration": 0.012 },
- "gpu.SwapBuffers": { "target_duration": 0.012 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.012 },
+ "cc.DrawAndSwap": { "target_duration": 0.012 },
+ "gpu.SwapBuffers": { "target_duration": 0.012 }
+ }
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?medium_raster",
"why": "Simulate a page with expensive recording and rasterization",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.004 },
- "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
- "gpu.AsyncTexImage": { "target_duration": 0.004 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.004 },
+ "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
+ "gpu.AsyncTexImage": { "target_duration": 0.004 }
+ }
},
{
"url": "file://tough_scheduling_cases/simple_text_page.html?heavy_raster",
"why": "Simulate a page with expensive recording and rasterization",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.024 },
- "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
- "gpu.AsyncTexImage": { "target_duration": 0.024 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.024 },
+ "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
+ "gpu.AsyncTexImage": { "target_duration": 0.024 }
+ }
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html",
- "why": "Touch handler scrolling baseline",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays" }
- ]
+ "why": "Touch handler scrolling baseline"
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html?medium_handler",
"why": "Medium cost touch handler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.008 }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.008 }
+ }
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html?slow_handler",
"why": "Slow touch handler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.024 }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.024 }
+ }
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html?janky_handler",
"why": "Touch handler that often takes a long time",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "alternating" }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "alternating" }
+ }
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html?occasionally_janky_handler",
"why": "Touch handler that occasionally takes a long time",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "oneshot" }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.024, "mode": "oneshot" }
+ }
},
{
"url": "file://tough_scheduling_cases/touch_handler_scrolling.html?super_slow_handler",
"why": "Super expensive touch handler causes browser to scroll after a timeout",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.2 }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.2 }
+ }
},
{
"url": "file://tough_scheduling_cases/div_touch_handler.html",
"why": "Super expensive touch handler that only occupies a part of the page",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "blink.HandleInputEvent": { "target_duration": 0.2 }
- }
- }
- ]
+ "synthetic_delays": {
+ "blink.HandleInputEvent": { "target_duration": 0.2 }
+ }
},
{
"url": "file://tough_scheduling_cases/raf.html",
- "why": "requestAnimationFrame scrolling baseline",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays" }
- ]
+ "why": "requestAnimationFrame scrolling baseline"
},
{
"url": "file://tough_scheduling_cases/raf_canvas.html",
- "why": "Test canvas blocking behavior",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays" }
- ]
+ "why": "Test canvas blocking behavior"
},
{
"url": "file://tough_scheduling_cases/raf.html?medium_handler",
"why": "Test a moderately heavy requestAnimationFrame handler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.004 },
- "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
- "gpu.AsyncTexImage": { "target_duration": 0.004 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.004 },
+ "cc.RasterRequiredForActivation": { "target_duration": 0.004 },
+ "gpu.AsyncTexImage": { "target_duration": 0.004 }
+ }
},
{
"url": "file://tough_scheduling_cases/raf.html?heavy_handler",
"why": "Test a moderately heavy requestAnimationFrame handler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.024 },
- "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
- "gpu.AsyncTexImage": { "target_duration": 0.024 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.024 },
+ "cc.RasterRequiredForActivation": { "target_duration": 0.024 },
+ "gpu.AsyncTexImage": { "target_duration": 0.024 }
+ }
},
{
"url": "file://tough_scheduling_cases/raf.html?gpu_bound",
"why": "Simulate a heavily GPU bound page",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "gpu.SwapBuffers": { "target_duration": 0.1 }
- }
- }
- ]
+ "synthetic_delays": {
+ "gpu.SwapBuffers": { "target_duration": 0.1 }
+ }
},
{
"url": "file://tough_scheduling_cases/raf_touch_animation.html",
- "why": "Stress test for the scheduler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays" }
- ]
+ "why": "Stress test for the scheduler"
},
{
"url": "file://tough_scheduling_cases/raf_touch_animation.html?medium",
"why": "Medium stress test for the scheduler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.004 },
- "cc.DrawAndSwap": { "target_duration": 0.004 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.004 },
+ "cc.DrawAndSwap": { "target_duration": 0.004 }
+ }
},
{
"url": "file://tough_scheduling_cases/raf_touch_animation.html?heavy",
"why": "Heavy stress test for the scheduler",
- "navigate_steps": [
- { "action": "navigate" },
- { "action": "set_synthetic_delays",
- "delays": {
- "cc.BeginMainFrame": { "target_duration": 0.012 },
- "cc.DrawAndSwap": { "target_duration": 0.012 }
- }
- }
- ]
+ "synthetic_delays": {
+ "cc.BeginMainFrame": { "target_duration": 0.012 },
+ "cc.DrawAndSwap": { "target_duration": 0.012 }
+ }
}
]
}
« no previous file with comments | « tools/perf/metrics/smoothness_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698