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

Unified Diff: client/cmd/isolate/exp_archive.go

Issue 2561543002: Log hit and miss file and byte counts from exparchive. (Closed)
Patch Set: Created 4 years 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 | « client/cmd/isolate/checker_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cmd/isolate/exp_archive.go
diff --git a/client/cmd/isolate/exp_archive.go b/client/cmd/isolate/exp_archive.go
index 70496b89eb74191887d3d050278814b2eeb253b8..8054cc7b483df302d1587a3ae63d65521f1d7337 100644
--- a/client/cmd/isolate/exp_archive.go
+++ b/client/cmd/isolate/exp_archive.go
@@ -260,6 +260,10 @@ func (c *expArchiveRun) main() error {
// TODO(mcgreevy): fill out more stats in archiveDetails.
archiveDetails := &logpb.IsolateClientEvent_ArchiveDetails{
+ HitCount: proto.Int64(int64(checker.Hit.Count)),
+ MissCount: proto.Int64(int64(checker.Miss.Count)),
+ HitBytes: &checker.Hit.Bytes,
+ MissBytes: &checker.Miss.Bytes,
IsolateHash: []string{string(isolItem.Digest)},
}
if err := logStats(ctx, logger, start, end, archiveDetails); err != nil {
« no previous file with comments | « client/cmd/isolate/checker_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698