[llvm-dev] lldb.frame.EvaluateExpression slows down when called a lot
Yury Meshkov via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 24 01:22:14 PDT 2016
Hi All
I call "memcmp" via EvaluateExpression on targets memory to compare two elements of an array. I do it thousands of times to find all matching array elements for many arrays. It works great at the beginning. But slows down by a lot with each call. Magnitude of the slow down is what used to be 1 minute operation start taking hours.
I found that similar topic was discussed here http://lists.llvm.org/pipermail/lldb-dev/2014-April/003836.html in April of 2014. It ends with talking about a patch to make ClusterManager a map or unordered_set instead of being a vector. Do you know if this patch has been applied?
Is there any work around? For example, is it possible to delete ClusterManager from python script when I move from one array to another?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160824/9ea4a4fb/attachment-0001.html>
More information about the llvm-dev
mailing list