[Lldb-commits] [PATCH] D28233: Improve the performance of jModulesInfo in lldb-server
Tamas Berghammer via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 3 07:21:56 PST 2017
tberghammer created this revision.
tberghammer added a reviewer: labath.
tberghammer added a subscriber: lldb-commits.
Improve the performance of jModulesInfo in lldb-server
Previously it parsed /proc/<pid>/maps for every module separately
resulting in a very slow response time. This CL add some caching and
optimizes the implementation to improve the code from O(n*m) to O(n+m)
where n is the number of modules requested and m is the number of
files mapped into memory.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9560 bytes
Desc: not available
More information about the lldb-commits