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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/large-table-repaint.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-repaint.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html b/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html
index 766eab807a103400d3a8c402c2b67f2901be9835..ddb6a434dd431faee5a7ac1bcc439c2b52a0a485 100644
--- a/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.html
+++ b/third_party/WebKit/PerformanceTests/Paint/large-table-repaint.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) {
@@ -23,7 +24,7 @@ var table = createTable(300, 320);
table.style.border = '2px solid green';
document.body.appendChild(table);
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
table.style.borderColor = table.style.borderColor == 'green' ?
'yellow' : 'green';

Powered by Google App Engine
This is Rietveld 408576698