[Qbs] Improving qbs resolve performance
Christian.Kandeler at qt.io
Fri Jul 12 14:48:00 CEST 2019
On Fri, 12 Jul 2019 12:05:48 +0000
Maximilian Hrabowski <hrabowski at clausmark.com> wrote:
> >> I have a fairly large project with a root projects that pulls in several SubProjects, altogether with unit tests its about 313 qbs files that are pulled in.
> > The number of project files is not all that important by itself. Qt Creator, for instance, has a comparable number, and resolves much faster than your project.
> Can you give any guidance what to avoid, i.e. what makes resolving slow if QtC is much faster resolved?
Nothing beyond the obvious, such as calling external processes on the right-hand side of properties (but you should get warnings for that anyway). Related: If you have probes, be sure not to trigger them inadvertantly. Excessive use of wildcards is also discouraged.
This is what comes to mind spontaneously.
More information about the Qbs