Skip to content

Commit d61e54f

Browse files
lberkicopybara-github
authored andcommitted
Add key byte and batch counts to the statline emitted about writing to Skycache.
RELNOTES: None. PiperOrigin-RevId: 785357903 Change-Id: I6cae75adf7a4a648bf19786cffcd1b747ad1c688
1 parent af53f53 commit d61e54f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/main/java/com/google/devtools/build/lib/skyframe/serialization/analysis/FrontierSerializer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,13 @@ public static Optional<FailureDetail> serializeAndUploadFrontier(
148148
reporter.handle(
149149
Event.info(
150150
String.format(
151-
"Serialized %s frontier nodes into %s bytes and %s entries in %s",
151+
"Serialized %s frontier nodes into %s/%s key/value bytes and %s entries "
152+
+ "(%s batches) in %s",
152153
serializedCount.get(),
154+
stats.keyBytesSent(),
153155
stats.valueBytesSent(),
154156
stats.entriesWritten(),
157+
stats.setBatches(),
155158
stopwatch)));
156159
} catch (ExecutionException e) {
157160
Throwable cause = e.getCause();

0 commit comments

Comments
 (0)