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

Unified Diff: PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: layoutOrFullyRender -> forceLayoutOrFullFrame Created 6 years, 1 month 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: PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html
diff --git a/PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html b/PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html
index 03f25948a3e4140d7043512fc8cf5f9a666f4207..347fd108a89c9f0982ff0d7a8e0e3efcc65c030b 100644
--- a/PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html
+++ b/PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html
@@ -37,7 +37,7 @@ function run()
for (var i = 0; i < nLoops; ++i) {
host.appendChild(div);
host.removeChild(div);
- host.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
}
« no previous file with comments | « PerformanceTests/ShadowDOM/ShadowReprojection.html ('k') | PerformanceTests/ShadowDOM/shadow-style-share.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698