diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-04-11 08:29:08 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-04-11 08:29:08 +0000 |
commit | b1305dc6233fa4c32a296b1571befcdcbf19c553 (patch) | |
tree | ab4bbd5793082d8be6e4e33cc184a3a4140ca854 /ybd.py | |
parent | 60e50a5f619629a93c22b3233a41708f3392e8e0 (diff) | |
download | ybd-b1305dc6233fa4c32a296b1571befcdcbf19c553.tar.gz |
Add timer for Definitions processing
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -31,7 +31,9 @@ target = os.path.splitext(os.path.basename(sys.argv[1]))[0] arch = sys.argv[2] with app.setup(target, arch): with app.timer('TOTAL', 'YBD starts'): + with app.timer('DEFINITIONS', 'Parsing'): + defs = Definitions() with app.timer('CACHE-KEYS', 'Calculating'): cache.get_cache(target) - Definitions().save_trees() + defs.save_trees() assemble(target) |