Re: [Qbs] Improving qbs resolve performance

2019-08-29 Thread Jochen Ulrich
I want to follow up on this topic: I created scripts to generate a Qbs project of a specified size. Then, I created a few projects and measured the resolve time. Bottom line: Exporting dependencies significantly slows down the resolving. It is better to explicitly depend on the needed modules

Re: [Qbs] Improving qbs resolve performance

2019-07-17 Thread Christian Gagneraud
On Sun, 14 Jul 2019 at 17:30, Christian Gagneraud wrote: > Looking at valgrind/callgrind data, it seems that the hot path is a > loop, here is a simplified tree with the final loop > - resolveProjectFromScratch() > - loadProject() > - handleTopLevelProject() > - setupProductDependencies() > - 0 -

Re: [Qbs] Improving qbs resolve performance

2019-07-15 Thread Christian Kandeler
On Sat, 13 Jul 2019 17:37:04 +1200 Christian Gagneraud wrote: > On Sat, 13 Jul 2019 at 00:48, Christian Kandeler > wrote: > > > > On Fri, 12 Jul 2019 12:05:48 + > > Maximilian Hrabowski wrote: > > > > > >> I have a fairly large project with a root projects that pulls in > > > >> several

Re: [Qbs] Improving qbs resolve performance

2019-07-13 Thread Christian Gagneraud
On Fri, 12 Jul 2019 at 00:45, Christian Kandeler wrote: > > On Thu, 11 Jul 2019 12:18:30 + > Maximilian Hrabowski 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

Re: [Qbs] Improving qbs resolve performance

2019-07-12 Thread Christian Gagneraud
On Sat, 13 Jul 2019 at 00:48, Christian Kandeler wrote: > > On Fri, 12 Jul 2019 12:05:48 + > Maximilian Hrabowski 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 > > >>

Re: [Qbs] Improving qbs resolve performance

2019-07-12 Thread Christian Kandeler
On Fri, 12 Jul 2019 12:05:48 + Maximilian Hrabowski 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

Re: [Qbs] Improving qbs resolve performance

2019-07-12 Thread Maximilian Hrabowski
On 11. Jul 2019, at 14:45, Christian Kandeler wrote: > > On Thu, 11 Jul 2019 12:18:30 + > Maximilian Hrabowski 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. >

Re: [Qbs] Improving qbs resolve performance

2019-07-11 Thread Vincent Hui
Perhaps QThreadPooler can help accelerating building products with inter-product dependencies. On Thu, 11 Jul 2019 at 20:46, Christian Kandeler wrote: > On Thu, 11 Jul 2019 12:18:30 + > Maximilian Hrabowski wrote: > >

Re: [Qbs] Improving qbs resolve performance

2019-07-11 Thread Christian Kandeler
On Thu, 11 Jul 2019 12:18:30 + Maximilian Hrabowski 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