Skip to content

Commit 8f83194

Browse files
committed
Less output in build analytics
1 parent f1fd705 commit 8f83194

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ydb/ci/build_bloat/main.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,14 @@ def generate_header_bloat(build_output_dir: str, result_dir: str, base_src_dir:
297297
total_time_breakdown[path][subpath][0] += time_breakdown[path][subpath][0]
298298
total_time_breakdown[path][subpath][1] += time_breakdown[path][subpath][1]
299299

300-
for path in total_time_breakdown:
301-
print("*** {}".format(path))
302-
for subpath in total_time_breakdown[path]:
303-
count, total_time_ms = total_time_breakdown[path][subpath]
304-
print(" {} -> total {:.2f}s (included {} times)".format(subpath, total_time_ms, count))
305-
print("")
300+
print_more_debug = False
301+
if print_more_debug:
302+
for path in total_time_breakdown:
303+
print("*** {}".format(path))
304+
for subpath in total_time_breakdown[path]:
305+
count, total_time_ms = total_time_breakdown[path][subpath]
306+
print(" {} -> total {:.2f}s (included {} times)".format(subpath, total_time_ms, count))
307+
print("")
306308

307309
result = []
308310

0 commit comments

Comments
 (0)