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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/appending-text.html

Issue 2883603002: Use the new tracing based measurement for blink_perf.paint (Closed)
Patch Set: - Created 3 years, 7 months 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 | « no previous file | third_party/WebKit/PerformanceTests/Paint/color-changes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/PerformanceTests/Paint/appending-text.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/appending-text.html b/third_party/WebKit/PerformanceTests/Paint/appending-text.html
index 6295a74e8673591536a951a1ccc30f8a3a5e11ed..5cd54bb7eb5a808143aa5d5925ec42fb55a52cf7 100644
--- a/third_party/WebKit/PerformanceTests/Paint/appending-text.html
+++ b/third_party/WebKit/PerformanceTests/Paint/appending-text.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<div id="container"></div>
<script>
// This test measures the lifecycle update performance when adding small
@@ -12,7 +13,7 @@ for (var i = 0; i < initialTextCount; i++)
initialText += '<span>a</span>';
var textToAppendEachRun = 5;
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
var text = document.createElement('span');
text.innerText = 'abc';
« no previous file with comments | « no previous file | third_party/WebKit/PerformanceTests/Paint/color-changes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698