Skip to content

Commit 7b93a9a

Browse files
removing unneeded changes from cache 4
1 parent e615f99 commit 7b93a9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/build.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,8 +1188,7 @@ func (s *Session) PrepareAndCompilePackages(rootSrcs *sources.Sources) (*compile
11881188
return nil, err
11891189
}
11901190
}
1191-
1192-
log.Infof(`DeclCache stats: %s, [global]`, compiler.GlobalDeclCacheStats())
1191+
log.Infof(`DeclCache stats: %s`, compiler.GlobalDeclCacheStats())
11931192

11941193
rootArchive, ok := s.UpToDateArchives[rootSrcs.ImportPath]
11951194
if !ok {
@@ -1226,7 +1225,7 @@ func (s *Session) CompilePackage(srcs *sources.Sources, tContext *types.Context)
12261225
s.buildCache.Store(dc, srcs.ImportPath, time.Now())
12271226
}
12281227
// Uncomment to get statics for individual packages cache usage.
1229-
// log.Infof(`DeclCache stats: %s, %q`, dc.String(), srcs.ImportPath)
1228+
// log.Infof(`DeclCache stats: %s`, dc.String())
12301229
}
12311230

12321231
s.UpToDateArchives[srcs.ImportPath] = archive

0 commit comments

Comments
 (0)