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-row-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-row-wrap.html
diff --git a/PerformanceTests/Layout/flexbox-row-wrap.html b/PerformanceTests/Layout/flexbox-row-wrap.html
index 8affeace5239d060a82bf7418740202c4ef23f5e..70dc1c7d48d287f966721724188ab35a8b11342a 100644
--- a/PerformanceTests/Layout/flexbox-row-wrap.html
+++ b/PerformanceTests/Layout/flexbox-row-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