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

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: 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/Shapes/resources/shapes.js
diff --git a/PerformanceTests/Layout/Shapes/resources/shapes.js b/PerformanceTests/Layout/Shapes/resources/shapes.js
index 320f9a66254bcb0af4a2f110e9ace7c76cbe4b20..9f47ddd3b71c438db689809b508cf82b941876c1 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.layoutOrFullyRender();
},
setup: function() {
PerfTestRunner.resetRandomSeed();
- document.body.offsetTop;
+ PerfTestRunner.layoutOrFullyRender();
},
done: function() {
document.body.removeChild(floatingObjects);

Powered by Google App Engine
This is Rietveld 408576698