summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Main.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-03-04 21:27:30 (GMT)
committerSteven Knight <knight@baldmt.com>2005-03-04 21:27:30 (GMT)
commit213996506374ad40fc7ee4949e2be3790ead99d9 (patch)
treee994d5104a10b6dd448afee90cd411931cf6670a /src/engine/SCons/Script/Main.py
parent3bf4475522d2a24910b147a607dcd9f0d980097f (diff)
downloadSCons-213996506374ad40fc7ee4949e2be3790ead99d9.zip
SCons-213996506374ad40fc7ee4949e2be3790ead99d9.tar.gz
SCons-213996506374ad40fc7ee4949e2be3790ead99d9.tar.bz2
Optimize out N*M suffix matching in Builder.py.
Diffstat (limited to 'src/engine/SCons/Script/Main.py')
-rw-r--r--src/engine/SCons/Script/Main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Script/Main.py b/src/engine/SCons/Script/Main.py
index f50273e..f66f214 100644
--- a/src/engine/SCons/Script/Main.py
+++ b/src/engine/SCons/Script/Main.py
@@ -1127,6 +1127,11 @@ def _main(args, parser):
print "Memoizer (memory cache) hits and misses:"
SCons.Memoize.Dump()
+ # Dump any caller counts. This is purely for internal debugging
+ # during development, so there's no need to control it with a
+ # --debug= option.
+ SCons.Debug.dump_caller_counts()
+
def _exec_main():
all_args = sys.argv[1:]
try: