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

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: PerfTestRunner.layoutOrFullyRender() 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/ChangingClassNameShadowDOM.html
diff --git a/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html b/PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
index 21f5f254c4a49d58363459f790662f5a06c9807c..211866d133ec8bc3f6cb904565734c89eeaa4709 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.layoutOrFullyRender();
}
}

Powered by Google App Engine
This is Rietveld 408576698