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

Unified Diff: tools/binary_size/run_binary_size_analysis.py

Issue 399683004: binarysize tool: Cleaning up some progress output. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
Index: tools/binary_size/run_binary_size_analysis.py
diff --git a/tools/binary_size/run_binary_size_analysis.py b/tools/binary_size/run_binary_size_analysis.py
index f2c95b104fe042b38901da1732d22c39de4565a4..dd69e04170ae449f7b4bb346ef728e9452162677 100755
--- a/tools/binary_size/run_binary_size_analysis.py
+++ b/tools/binary_size/run_binary_size_analysis.py
@@ -540,7 +540,7 @@ def RunElfSymbolizer(outfile, library, addr2line_binary, nm_binary, jobs,
sys.stdout.write('\r%.1f%%: Looked up %d symbols (%d collisions, '
'%d disambiguations where %.1f%% succeeded)'
- '- %.1f lookups/s.' %
+ ' - %.1f lookups/s.' %
(progress_percent, progress.count, progress.collisions,
progress.disambiguations, disambiguation_percent, speed))
@@ -617,7 +617,6 @@ def RunElfSymbolizer(outfile, library, addr2line_binary, nm_binary, jobs,
def RunNm(binary, nm_binary):
- print('Starting nm')
cmd = [nm_binary, '-C', '--print-size', '--size-sort', '--reverse-sort',
binary]
nm_process = subprocess.Popen(cmd,
@@ -631,7 +630,6 @@ def RunNm(binary, nm_binary):
else:
raise Exception, process_output
- print('Finished nm')
return process_output

Powered by Google App Engine
This is Rietveld 408576698