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

Dawid Weiss commented on LUCENE-5755:
-------------------------------------

Note what those "tasks" are -- they're simple invocations of Gradle. The 
problem is similar to that of other scripted languages over the JVM: bootstrap, 
class loading and switching from interpreted to jitted code. The daemon is not 
required for anything functional, it just keeps the core code warmed up. At 
least that's my understanding (and experience).

I am using this daemon because I find it annoying that it starts so slow, even 
for 'gradle tasks'. Again, I never found it to be any problem, but you can 
disable it if you so desire. Anyway, even if gradle invocation is 10 seconds 
(oddball), I assume if we can shrink the time for a simple compilation from 1 
minute to 10 seconds it's still a win of 40 seconds...

> Explore alternative build systems
> ---------------------------------
>
>                 Key: LUCENE-5755
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5755
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>
> I am dissatisfied with how ANT and submodules currently work in Lucene/ Solr. 
> It's not even the tool's fault; it seems Lucene builds just hit the borders 
> of what it can do, especially in terms of submodule dependencies etc.
> I don't think Maven will help much too, given certain things I'd like to have 
> in the build (for example collect all tests globally for a single execution 
> phase at the end of the build, to support better load-balancing).
> I'd like to explore Gradle as an alternative. This task is a notepad for 
> thoughts and experiments.
> An example of a complex (?) gradle build is javafx, for example.
> http://hg.openjdk.java.net/openjfx/8/master/rt/file/f89b7dc932af/build.gradle



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

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

Reply via email to