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

Unified Diff: PerformanceTests/Layout/Shapes/resources/shapes.js

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/Shapes/resources/shapes.js
diff --git a/PerformanceTests/Layout/Shapes/resources/shapes.js b/PerformanceTests/Layout/Shapes/resources/shapes.js
index 320f9a66254bcb0af4a2f110e9ace7c76cbe4b20..c0169638563b6ecd0f4c70a0c88aaa5439073a1c 100644
--- a/PerformanceTests/Layout/Shapes/resources/shapes.js
+++ b/PerformanceTests/Layout/Shapes/resources/shapes.js
@@ -67,11 +67,11 @@
description: "Testing shapes with " + properties['webkitShapeOutside'] +" using " + shapeObjectCount + " shapes.",
run: function() {
applyFloating();
- document.body.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
},
setup: function() {
PerfTestRunner.resetRandomSeed();
- document.body.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
},
done: function() {
document.body.removeChild(floatingObjects);
« no previous file with comments | « PerformanceTests/Layout/Shapes/MultipleShapes.html ('k') | PerformanceTests/Layout/SimpleTextPathLineLayout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698