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

Unified Diff: proto/dom_distiller.proto

Issue 499623002: Instrument DomDistiller with timing information. (Closed) Base URL: https://code.google.com/p/dom-distiller/@master
Patch Set: Created 6 years, 4 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 | src/com/dom_distiller/client/ContentExtractor.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: proto/dom_distiller.proto
diff --git a/proto/dom_distiller.proto b/proto/dom_distiller.proto
index ca1d31bd99983bdc3282ad493ea276fa0fc1e7d0..f9054c3c24a1264f230528aaf99f8e54eca78d0e 100644
--- a/proto/dom_distiller.proto
+++ b/proto/dom_distiller.proto
@@ -48,12 +48,21 @@ message MarkupInfo {
repeated MarkupImage images = 9;
}
+message TimingInfo {
+ optional double markup_parsing_time = 1;
+ optional double document_construction_time = 2;
+ optional double article_processing_time = 3;
+ optional double formatting_time = 4;
+ optional double total_time = 5;
+}
+
message DomDistillerResult {
optional string title = 1;
optional DistilledContent distilled_content = 2;
optional PaginationInfo pagination_info = 3;
repeated string image_urls = 4;
optional MarkupInfo markup_info = 5;
+ optional TimingInfo timing_info = 6;
}
message DomDistillerOptions {
« no previous file with comments | « no previous file | src/com/dom_distiller/client/ContentExtractor.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698