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

Unified Diff: tools/perf/measurements/smoothness_unittest.py

Issue 240073008: Add a gpu.SwapBuffers synthetic delay to PostSubBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename gpu.SwapBuffers to gpu.PresentingFrame Created 6 years, 8 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 | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | tools/perf/page_sets/tough_scheduling_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/smoothness_unittest.py
diff --git a/tools/perf/measurements/smoothness_unittest.py b/tools/perf/measurements/smoothness_unittest.py
index d49ee1f4972dc12aa471525f6378cdc7bc445e7b..5c7838b065bae4b6e7afb33927bf2a409cf12ac7 100644
--- a/tools/perf/measurements/smoothness_unittest.py
+++ b/tools/perf/measurements/smoothness_unittest.py
@@ -45,7 +45,7 @@ class SmoothnessUnitTest(
test_page.synthetic_delays = {
'cc.BeginMainFrame': { 'target_duration': 0.012 },
'cc.DrawAndSwap': { 'target_duration': 0.012, 'mode': 'alternating' },
- 'gpu.SwapBuffers': { 'target_duration': 0.012 }
+ 'gpu.PresentingFrame': { 'target_duration': 0.012 }
}
tab = FakeTab()
@@ -55,7 +55,7 @@ class SmoothnessUnitTest(
expected_category_filter = [
'DELAY(cc.BeginMainFrame;0.012000;static)',
'DELAY(cc.DrawAndSwap;0.012000;alternating)',
- 'DELAY(gpu.SwapBuffers;0.012000;static)',
+ 'DELAY(gpu.PresentingFrame;0.012000;static)',
'benchmark',
'webkit.console'
]
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | tools/perf/page_sets/tough_scheduling_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698