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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html

Issue 2883603002: Use the new tracing based measurement for blink_perf.paint (Closed)
Patch Set: - Created 3 years, 7 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
Index: third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html b/third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html
index 1e0092de96909704294e0d7d0ebe8c4458a60696..a2d114f4e126f9ba734238f7705408d6dfa4401a 100644
--- a/third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html
+++ b/third_party/WebKit/PerformanceTests/Paint/complex-content-slow-scroll.html
@@ -16,12 +16,13 @@
</div>
</div>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<script>
var cloned = template.cloneNode(true);
for (var i = 0; i < 10000; ++i)
container.appendChild(cloned.cloneNode(true));
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
container.scrollTop += 20;
},

Powered by Google App Engine
This is Rietveld 408576698