Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.2.1
-
None
Description
QmlJS ModelManager::defaultProjectInfoForProject() resolves mimetype for each file. When I open a qbs file with ~20K files (in which only the qbs files are qml-type), it is pretty slow. Callgrind shows that it takes ~28% of the CPU time for this thread.
C++ resolving performance was improved in 8c90998fff6ec3cf85ad87b56175e86b6f0a93d0 but QmlJS remained the same.
Attachments
For Gerrit Dashboard: QTCREATORBUG-17884 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189728,3 | QmlJSModelManager: Avoid needless Mime database lookups | 4.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |