[Lldb-commits] [lldb] [lldb] Make SBType::FindDirectNestedType work with expression ASTs (PR #89183)

Vlad Serebrennikov via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 19 01:18:07 PDT 2024


Endilll wrote:

@Michael137 suggested that I check that performance of `FindDirectNestedType` doesn't regress (at least for my use case), since I have custom instrumentation in my formatter. I can confirm that 3 versions of this function (#68705, #74786, and this PR) exhibit the same level of performance. Raw numbers fluctuate a lot, but I don't see anything concerning:
```
This PR
-------
2,611,025
1,988,893
2,878,981
1,873,220

main branch (#74786)
----
1,973,071
2,542,073
1,509,624

Initial implementation (#68705)
------
2,029,233
2,477,041
1,315,462
```

https://github.com/llvm/llvm-project/pull/89183


More information about the lldb-commits mailing list