Well, it's not even a matter sharing the project, it's a hierarchy of
module and projects that have to be included though yes somehow work has
some minor objections about proprietary code being shared and passed about.
 (Then again the other modules don't have this issue, so it could provide a
hint as to why this problem is occurring.)


The only obvious difference between this project and the other code I've
migrated over to Jooq 3.8.x is an excessive usage of CTEs.  I'll spend some
time trying to debug this but unless someone has some suggested tools for
benchmarking compile time, I'm going to start deleting files and seeing if
I can track down the code snippet that's causing the slow down.  Naturally
this might take a little while to iron out.

On Tue, Jun 7, 2016 at 10:45 PM, Lukas Eder <[email protected]> wrote:

> Hi Samir,
>
> Thank you very much for following up on this. I'm glad that most of your
> projects could be upgraded effortlessly.
>
> It looks like there's still some compile time performance regression
> caused by the various additional overloaded methods that have been added
> over time. The important thing would be to spot the particular API usage
> that might be causing this (if there's a particular one). Are you willing
> to spend more time on analysing this? One way to analyse this would be to
> "bisect" the code base by removing 50% and then re-adding 25%, 12.5%, etc.
> of the code and seeing if a certain code re-addition leads to an excessive
> increase of compile time.
>
> Of course, I'd be more than willing to do this analysis also on my side -
> but you're probably not too keen on sharing your source code, I suspect?
>
> 2016-06-08 7:28 GMT+03:00 Samir Faci <[email protected]>:
>
>> I started a thread discussing the slow build times in the past, and Lukas
>> merged in a small patch in 3.8.1 to fix the problem.
>>
>> Reference:
>> https://groups.google.com/forum/#!msg/jooq-user/vuaG9d9krDk/_BtOSGaaAgAJ
>>
>>
>> I finally got around to updating the various projects and most projects I
>> was able to update without any issues.  One project though is giving issues.
>>
>> We upgrade from 3.5.4 to 3.8.1.
>>
>> The upgrade generated a 5x increase in compile time.
>>
>> *Jooq 3.5.4*
>>
>> [INFO] Total time: 01:38 min
>>
>>
>> *Jooq 3.8.1:*
>>
>> [INFO] Total time: 06:15 min
>>
>>
>>
>> This is purely compilation time, skipping tests etc.   It's thankfully
>> more bearable then the 24 minute build time I initially reported.  We went
>> ahead and upgraded to 3.8.1 but I wanted to open this up to see if we could
>> figure out what's causing the slow down.
>>
>> @Lukas:  Feel free to contact me off list if need but I'd like to see if
>> there's anything I can provide to help you iron out where the issue might
>> be at.  I'd love to get the build time down to a comparable one to the
>> 3.5.4 one
>>
>>
>>
>> --
>> Thank you
>> Samir Faci
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thank you
Samir Faci

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to