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

Unified Diff: PerformanceTests/Layout/flexbox-column-wrap.html

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/forceFullLayout/forceLayout/g Created 6 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
Index: PerformanceTests/Layout/flexbox-column-wrap.html
diff --git a/PerformanceTests/Layout/flexbox-column-wrap.html b/PerformanceTests/Layout/flexbox-column-wrap.html
index 6b9ee535599d2839b7a601fade82bfc9a7bdde08..c4fb01e2fdfbbe0d43c6c6302be37afec4d5c087 100644
--- a/PerformanceTests/Layout/flexbox-column-wrap.html
+++ b/PerformanceTests/Layout/flexbox-column-wrap.html
@@ -23,9 +23,9 @@
function runTest()
{
document.getElementById("flexbox").style.display = 'flex';
- document.body.clientHeight;
+ PerfTestRunner.forceLayout();
document.getElementById("flexbox").style.display = '';
- document.body.clientHeight;
+ PerfTestRunner.forceLayout();
}
PerfTestRunner.measureRunsPerSecond({

Powered by Google App Engine
This is Rietveld 408576698