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

Unified Diff: PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.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
« no previous file with comments | « PerformanceTests/ShadowDOM/ChangingClassName.html ('k') | PerformanceTests/ShadowDOM/ChangingSelect.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
diff --git a/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html b/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
index 21f5f254c4a49d58363459f790662f5a06c9807c..a1098c826918e2f5921d35ccf201096d142018c6 100644
--- a/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
+++ b/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
@@ -39,8 +39,7 @@ function run()
for (var i = 2; i < 100; ++i) {
for (var j = 0; j < nDivs; ++j)
array[j].className = (j % i == 0) ? 'selected' : '';
- selected.offsetLeft;
- nonSelected.offsetLeft;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
}
« no previous file with comments | « PerformanceTests/ShadowDOM/ChangingClassName.html ('k') | PerformanceTests/ShadowDOM/ChangingSelect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698