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

Unified Diff: PerformanceTests/Layout/fixed-grid-lots-of-data.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/fixed-grid-lots-of-data.html
diff --git a/PerformanceTests/Layout/fixed-grid-lots-of-data.html b/PerformanceTests/Layout/fixed-grid-lots-of-data.html
index 5e0c53192ecc1efde98c33c5891ff5a045eaabe2..4c148b111c5d85a80ce4140c3f0f6edbf2298587 100644
--- a/PerformanceTests/Layout/fixed-grid-lots-of-data.html
+++ b/PerformanceTests/Layout/fixed-grid-lots-of-data.html
@@ -21,14 +21,14 @@ body {
<script src="../resources/runner.js"></script>
<script>
function startTest() {
- document.body.offsetHeight;
+ PerfTestRunner.layoutOrFullyRender();
var index = 0;
PerfTestRunner.measureRunsPerSecond({
description: "Measures performance of layout on a page using CSS grid layout (fixed).",
run: function() {
document.body.style.width = ++index % 2 ? "99%" : "98%";
- document.body.offsetHeight;
+ PerfTestRunner.layoutOrFullyRender();
}
});
}

Powered by Google App Engine
This is Rietveld 408576698