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

Unified Diff: third_party/WebKit/PerformanceTests/Paint/color-changes.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/color-changes.html
diff --git a/third_party/WebKit/PerformanceTests/Paint/color-changes.html b/third_party/WebKit/PerformanceTests/Paint/color-changes.html
index 090726acc77ae2dfb5bc8bcb8f8bb5db5797f5d9..3c10a5f42e3de853e9bf3f970fab6b3ddd0fd38f 100644
--- a/third_party/WebKit/PerformanceTests/Paint/color-changes.html
+++ b/third_party/WebKit/PerformanceTests/Paint/color-changes.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<body>
<script src="../resources/runner.js"></script>
+<script src="resources/paint.js"></script>
<style>
span {
padding: 1px;
@@ -67,7 +68,7 @@ var colors = [
"rgb(18, 128, 237)",
"rgb(64, 64, 255)"
];
-PerfTestRunner.measureFrameTime({
+measurePaint({
run: function() {
runCount++;
var newColor = colors[runCount % colors.length];

Powered by Google App Engine
This is Rietveld 408576698