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

Unified Diff: tools/perf/perf_tools/scrolling_benchmark_unittest.py

Issue 11028021: cc: Improve frame/commit accounting (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments Created 8 years, 2 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/perf_tools/scrolling_benchmark.py ('k') | tools/perf/perf_tools/texture_upload_benchmark.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/perf_tools/scrolling_benchmark_unittest.py
diff --git a/tools/perf/perf_tools/scrolling_benchmark_unittest.py b/tools/perf/perf_tools/scrolling_benchmark_unittest.py
index 78485170a42917e0a25ad584ff26624d88c22f5a..251a5eea28a35378f9ac12d621e9ad65dcac8797 100644
--- a/tools/perf/perf_tools/scrolling_benchmark_unittest.py
+++ b/tools/perf/perf_tools/scrolling_benchmark_unittest.py
@@ -25,7 +25,7 @@ class ScrollingBenchmarkUnitTest(
rendering_stats = {'droppedFrameCount': 5,
'totalTimeInSeconds': 1,
'numAnimationFrames': 10,
- 'numFramesSentToScreen': 10}
+ 'rendererFrameCount': 10}
res = multi_page_benchmark.BenchmarkResults()
res.WillMeasurePage(True)
scrolling_benchmark.CalcScrollResults(rendering_stats, res)
@@ -34,7 +34,7 @@ class ScrollingBenchmarkUnitTest(
self.assertAlmostEquals(100, res.page_results[0]['mean_frame_time'], 2)
def testCalcResultsRealRenderStats(self):
- rendering_stats = {'numFramesSentToScreen': 60,
+ rendering_stats = {'rendererFrameCount': 60,
'globalTotalTextureUploadTimeInSeconds': 0,
'totalProcessingCommandsTimeInSeconds': 0,
'globalTextureUploadCount': 0,
« no previous file with comments | « tools/perf/perf_tools/scrolling_benchmark.py ('k') | tools/perf/perf_tools/texture_upload_benchmark.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698