Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 23193 Build 23192: arc lint + arc unit
Event Timeline
clangd/index/dex/Dex.cpp | ||
---|---|---|
143 | Yes, that's an interesting topic. I was thinking about better dump format for queries for the dexp commands (namely, find): right now there's no API to pull even the query dump for the external callers, so this is another problem. For better format, I was thinking about adding either LABEL iterator or actually having StringRef Iterator::label() const; as most iterators are likely to have one. E.g. PostingList's can store the Token reference, but then we're likely to run into the memory issues so it can be disabled in all builds other than DEBUG. Other iterators are fine, because they are only constructed once per query and never stored afterwards. And it would be very useful to see the full query structure for both debugging purposes and for understanding which queries are slow (and why). I thought about measuring distinct queries latency to have better statistics (latency histogram & distributions) to understand how to optimize Dex and improve performance. |
might be fun to add static/dynamic/both counts