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

Unified Diff: PerformanceTests/Layout/flexbox-column-nowrap.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-nowrap.html
diff --git a/PerformanceTests/Layout/flexbox-column-nowrap.html b/PerformanceTests/Layout/flexbox-column-nowrap.html
index 08befb7eca9ab1ac3ee5ebffb75fe2461b3787e6..7821962b602cf3bd3e194c16c8234e192163c5f9 100644
--- a/PerformanceTests/Layout/flexbox-column-nowrap.html
+++ b/PerformanceTests/Layout/flexbox-column-nowrap.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