Adding more info to cache debug log

Mathew Robinson <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAFvD1Y4+-gQ782J-GP_ixx0kAgf4wVLDFyM7kJXEWwWYk1VCGA@mail.gmail.com>
Hey all,

We’ve made a local modification to SCons so that when running with
—cache-debug it prints out the total number of requests to the cache and
the hit rate. A sample log line looks like:

CacheRetrieve(some_object_file.o):  retrieving from
fb2c875662f617f57ca94b57ec38b561
requests: 3608, hits: 3437, misses: 171, hit rate: 95.26%


If other users are interested we’d like to upstream this change.

- Mathew Robinson (chasinglogic)

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.