• Tim Peters's avatar
    setUp(): Use a much smaller (than default) ZEO client cache. · 32c7bffd
    Tim Peters authored
    The current default is 200MB, and at least testSerialization reads
    the entire cache file into one giant string.  That grossly boosts
    the process highwater mark when running the tests.  Windows reclaims
    the memory after, but other platforms may not.
    
    Cool:  testSerialization was one of the slowest tests before, but
    is 100x faster now.
    32c7bffd
test_cache.py 6.01 KB