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

Unified Diff: PerformanceTests/Layout/flexbox-with-stretch-layout.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/Layout/flexbox-row-wrap.html ('k') | PerformanceTests/Layout/hindi-line-layout.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Layout/flexbox-with-stretch-layout.html
diff --git a/PerformanceTests/Layout/flexbox-with-stretch-layout.html b/PerformanceTests/Layout/flexbox-with-stretch-layout.html
index e171b07a26448ef68ea4b0d2a5f989685d6f029f..0698e78f74581d0546dd2d5d8bc30a4c2c751668 100644
--- a/PerformanceTests/Layout/flexbox-with-stretch-layout.html
+++ b/PerformanceTests/Layout/flexbox-with-stretch-layout.html
@@ -44,6 +44,7 @@ function setupTest()
div.appendChild(span);
container.appendChild(div);
};
+ PerfTestRunner.forceLayoutOrFullFrame();
};
setupTest();
@@ -55,7 +56,7 @@ function runTest()
var inlineBlocks = document.getElementsByClassName("inlineBlock");
for (var i = inlineBlocks.length - 1; i >= 0; i--) {
inlineBlocks[i].innerText = switcher ? " " : nbsp;
- inlineBlocks[i].offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
};
switcher = !switcher;
};
« no previous file with comments | « PerformanceTests/Layout/flexbox-row-wrap.html ('k') | PerformanceTests/Layout/hindi-line-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698