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

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: 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/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..ba727cd7a4fafdc4bcffcf6c7daf2d89d3951e94 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.layoutOrFullyRender();
};
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.layoutOrFullyRender();
};
switcher = !switcher;
};

Powered by Google App Engine
This is Rietveld 408576698