Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 6.0.0
-
93ae6f4c06775626db2b2527f7b0c550bf1ea8c4 (qt-creator/qt-creator/6.0)
Description
the locator command became very slow for me: `:` to list symbols takes minutes to show up on my (non-trivial, but not enormous) codebase.
most of the cpu time seems to be spent in `LocatorFilterEntry::operator==`, mainly in `QVariant::canConvert`/`QVariant::toString` (i guess one could use `QVariant::metaType()::equals()` in a fast-path when both `internalData` has the same type (which seems to be the default case).
however i still wonder if there could be better ways to improve the speed of the locator command e.g. by lazily filtering only the first tens of entries to populate the popup (i guess otherwise the filter is applied to tens/hundert thousands of c++ symbols)
Attachments
Issue Links
- relates to
-
QTCREATORBUG-25996 Locator CppIncludesFilter is slow and doesn't cancel well
- Closed
-
QTCREATORBUG-24098 Port to Qt 6
- Closed
- replaces
-
QTCREATORBUG-25996 Locator CppIncludesFilter is slow and doesn't cancel well
- Closed
-
QTCREATORBUG-26378 Locator spins pretty long and does no more update
- Closed
For Gerrit Dashboard: QTCREATORBUG-26415 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
377312,3 | Fix performance issue in Locator with Qt 6 | 6.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |