You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/07/26 15:18:38 UTC

[jira] [Commented] (LUCENE-5593) javadocs generation in release tasks: painfully slow

    [ https://issues.apache.org/jira/browse/LUCENE-5593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075378#comment-14075378 ] 

Robert Muir commented on LUCENE-5593:
-------------------------------------

Besides fixing the O(n!) or whatever in release tasks, this is also a nice speedup to just ordinary development like 'ant precommit', because if stuff isn't out of date we won't rebuild for no reason. We currently pass around a lot of properties to try to prevent some of the stuff described above, which today somewhat alleviates the worst case, but those properties don't always work correctly, especially in maven generation in release tasks. And they doesn't save you any time in subsequent builds.

Trunk:
{noformat}
lucene$ ant clean compile-test # 31 seconds
lucene$ ant documentation-lint # 1st time: 3 minutes 17 seconds
lucene$ ant documentation-lint # 2nd time: 2 minutes 36 seconds
{noformat}

Patch:
{noformat}
lucene$ ant clean compile-test # 30 seconds
lucene$ ant documentation-lint # 1st time: 2 minutes 54 seconds
lucene$ ant documentation-lint # 2nd time: 1 minute 30 seconds
{noformat}


> javadocs generation in release tasks: painfully slow
> ----------------------------------------------------
>
>                 Key: LUCENE-5593
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5593
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-5593.patch
>
>
> Something is wrong here in the way this generation works, I see some of the same javadocs being generated over and over and over again. 
> The current ant tasks seem to have a O(n!) runtime with respect to how many modules we have: its obnoxiously slow on a non-beast computer. There is a bug here...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org