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

Unified Diff: PerformanceTests/Layout/auto-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: 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/SimpleTextPathLineLayout.html ('k') | PerformanceTests/Layout/chapter-reflow.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Layout/auto-grid-lots-of-data.html
diff --git a/PerformanceTests/Layout/auto-grid-lots-of-data.html b/PerformanceTests/Layout/auto-grid-lots-of-data.html
index 3949d6c2ca3a2999f0f3f4eb1747cda81bd35dbf..8c1d33852940d329bfc25e8559759717c65f228b 100644
--- a/PerformanceTests/Layout/auto-grid-lots-of-data.html
+++ b/PerformanceTests/Layout/auto-grid-lots-of-data.html
@@ -21,14 +21,14 @@ body {
<script src="../resources/runner.js"></script>
<script>
function startTest() {
- document.body.offsetHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
var index = 0;
PerfTestRunner.measureRunsPerSecond({
description: "Measures performance of layout on a page using CSS grid layout.",
run: function() {
document.body.style.width = ++index % 2 ? "99%" : "98%";
- document.body.offsetHeight;
+ PerfTestRunner.forceLayoutOrFullFrame();
}
});
}
« no previous file with comments | « PerformanceTests/Layout/SimpleTextPathLineLayout.html ('k') | PerformanceTests/Layout/chapter-reflow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698