diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-01-31 15:52:20 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-02-03 16:07:54 +0000 |
commit | c7d8b9b01c140a44abf2c93a4354ac0f66a68590 (patch) | |
tree | 290d0cf862bb964d375a2f1b386bba9849ee46cb /src/plugins/cpptools/cpptoolsplugin.cpp | |
parent | 38904735002877c5647ba57d259fb0f2d34ff16d (diff) | |
download | qt-creator-c7d8b9b01c140a44abf2c93a4354ac0f66a68590.tar.gz |
QMakeProjectManager: Move some parsing code out of the UI thread
When parsing larger qmake project, the callbacks from the parser threads
are currently overloading the UI thread, often rendering the application
non-responsive until the project is completely loaded.
This patch moves some expensive operations from the UI thread into the
parser threads, at the cost of a somewhat ugly two-stage setup for some
types of objects.
On my Linux machine, I measured that the time spent in parser callback code
went down by almost 50% when loading the Qt Creator super project.
Task-number: QTCREATORBUG-18533
Change-Id: If9624da5b07e81a50c180693580b20a70e1aaea7
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions