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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.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
Index: third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.html b/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.html
index 6154e1311a7c5ba6c2d5079d2c3a60762364b300..ee7c376da4af88d5e1d6fe2a457fd94262b8c746 100644
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.html
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-background-change-with-visible-collapsed-borders.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<style>td { border: 1px solid blue }</style>
<script>
function createTable(rows, columns) {
@@ -25,7 +26,7 @@ document.body.appendChild(table);
var ix = 30;
var iy = 30;
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
table.childNodes[iy].childNodes[ix].style.backgroundColor = 'teal';
ix++;

Powered by Google App Engine
This is Rietveld 408576698