Mercurial > hg
view tests/test-wireproto.py.out @ 27465:072a675c51f2
revlog: make clearcaches() more effective
clearcaches() was added several years ago in e8d37b78acfb as part
of implementing a perf command. Since revlog instances have many caches
and since the spirit of this mostly unused method is to facilitate
performance testing, I think it's appropriate for all the revlog's
caches to get cleared when it is called.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 20 Dec 2015 17:48:20 -0800 |
parents | d3d32643c060 |
children | 40381a88bab4 |