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

Side by Side Diff: tools/binary_size/libsupersize/main.py

Issue 2851473003: supersize: Track symbol aliases and shared symbols (Closed)
Patch Set: fix regression in calculate padding introduced in ps3 Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2017 The Chromium Authors. All rights reserved. 2 # Copyright 2017 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Collect, archive, and analyze Chrome's binary size.""" 6 """Collect, archive, and analyze Chrome's binary size."""
7 7
8 import argparse 8 import argparse
9 import atexit 9 import atexit
10 import collections 10 import collections
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 # Running with python: 6s. Running with pypy: 3s 93 # Running with python: 6s. Running with pypy: 3s
94 logging.warning('This script runs more than 2x faster if you install pypy.') 94 logging.warning('This script runs more than 2x faster if you install pypy.')
95 95
96 if logging.getLogger().isEnabledFor(logging.DEBUG): 96 if logging.getLogger().isEnabledFor(logging.DEBUG):
97 atexit.register(_LogPeakRamUsage) 97 atexit.register(_LogPeakRamUsage)
98 98
99 args.func(args, parser) 99 args.func(args, parser)
100 100
101 101
102 if __name__ == '__main__': 102 if __name__ == '__main__':
103 sys.exit(main()) 103 main()
OLDNEW
« no previous file with comments | « tools/binary_size/libsupersize/linker_map_parser.py ('k') | tools/binary_size/libsupersize/models.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698