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

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: 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
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..df46b0c849ff49c83654d69fec6aecf55d18d8f5 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.forceLayoutOrFullFrame();
document.getElementById("flexbox").style.display = '';
- document.body.clientHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
PerfTestRunner.measureRunsPerSecond({
« no previous file with comments | « PerformanceTests/Layout/flexbox-row-nowrap.html ('k') | PerformanceTests/Layout/flexbox-with-stretch-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698