summaryrefslogtreecommitdiffstats
path: root/test/Interactive
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-05-15 17:29:48 (GMT)
committerMathew Robinson <chasinglogic@gmail.com>2019-05-17 17:36:01 (GMT)
commitdf0db6cecf595a8a8819ffd97e38f9e04de249da (patch)
tree1e30389ecd8d20ac20f3b3d20af9711261bff5c6 /test/Interactive
parent3cd0e6afa59e1a380bb028695f1817b1d951aefb (diff)
downloadSCons-df0db6cecf595a8a8819ffd97e38f9e04de249da.zip
SCons-df0db6cecf595a8a8819ffd97e38f9e04de249da.tar.gz
SCons-df0db6cecf595a8a8819ffd97e38f9e04de249da.tar.bz2
Add cache hit rate to cache debugging
Diffstat (limited to 'test/Interactive')
-rw-r--r--test/Interactive/cache-debug.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Interactive/cache-debug.py b/test/Interactive/cache-debug.py
index 68bedb8..e1856bb 100644
--- a/test/Interactive/cache-debug.py
+++ b/test/Interactive/cache-debug.py
@@ -106,6 +106,7 @@ scons>>> Removed foo.out
scons>>> Touch\("4"\)
scons>>> Retrieved `foo.out' from cache
CacheRetrieve\(foo.out\): retrieving from [0-9A-za-z]+
+requests: [0-9]+, hits: [0-9]+, misses: [0-9]+, hit rate: [0-9]+\.[0-9]{2,}%
scons>>> Touch\("5"\)
scons>>>
"""