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

Unified Diff: PerformanceTests/Layout/Shapes/MultipleShapes.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/ArabicLineLayout.html ('k') | PerformanceTests/Layout/Shapes/resources/shapes.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Layout/Shapes/MultipleShapes.html
diff --git a/PerformanceTests/Layout/Shapes/MultipleShapes.html b/PerformanceTests/Layout/Shapes/MultipleShapes.html
index c61d9c69402bbca5c0cfd39d6512632a62b1765d..91f7711772c562c3b6465584e32d9a60e73ee035 100644
--- a/PerformanceTests/Layout/Shapes/MultipleShapes.html
+++ b/PerformanceTests/Layout/Shapes/MultipleShapes.html
@@ -15,7 +15,7 @@ PerfTestRunner.measureTime({run: function() {
iframe.contentDocument.write(test800);
iframe.contentDocument.close();
iframe.style.width = '800px';
- iframe.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
document.body.removeChild(iframe);
var iframe2 = iframe.cloneNode();
@@ -25,7 +25,7 @@ PerfTestRunner.measureTime({run: function() {
iframe2.contentDocument.write(test600);
iframe2.contentDocument.close();
iframe2.style.width = '600px';
- iframe2.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
document.body.removeChild(iframe2);
var iframe3 = iframe.cloneNode();
@@ -35,7 +35,7 @@ PerfTestRunner.measureTime({run: function() {
iframe3.contentDocument.write(test400);
iframe3.contentDocument.close();
iframe3.style.width = '400px';
- iframe3.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
document.body.removeChild(iframe3);
}});
« no previous file with comments | « PerformanceTests/Layout/ArabicLineLayout.html ('k') | PerformanceTests/Layout/Shapes/resources/shapes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698