diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2017-10-24 11:46:07 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-05-02 14:42:26 +0000 |
commit | 9f2dd7f252d29de549fa1b6236a04312286adfc8 (patch) | |
tree | 985c4d7b703dfdd256df370613c7e058e6a2dcaa /app/perfunwind.h | |
parent | 25df99e71def3c3e516a94999c0e05c9e82402a4 (diff) |
Only invalidate symbol cache when a previously used elf gets invalidated
We previously cleared the cache whenever an mmap event overlapped
a previously encountered mmap event. But often, these mmaps events
where not (yet) used for dwfl. As such, we do not have anything cached
from them which would be invalidated now. So keep the rest of the cache
alive to speed up the process slightly for some scenarios. One of my
files now gets parsed in ~5s instead of ~6s before. I see that the
cache is now only cleared 500 times instead of 2500 times.
Change-Id: If9c29946f6fb12a6b6d64888fe34d8add8eaebb4
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'app/perfunwind.h')
0 files changed, 0 insertions, 0 deletions