Hello all,

While writing smoke tests for the v2 API I've noticed that the spin up time
of the tests in intellij with gradle is quite slow, making it hard to
iterate rapidly. Even without making any changes, there's about 30-40
seconds of gradle build before they start running. And it's maybe double
that with changes just to the tests themselves. I'm running on a *reasonable
*Lenovo P50 (i7-6820HQ,32GB, M.2 SSD) though it is a bit old.

I see a similar thread was raised on the Lucene list last year, with one
suggested improvement being to use IntelliJ (really it's the Eclipse
Compiler) to build and run rather than Gradle.
https://lists.apache.org/thread/9j4s4wqftlbst640z5zzgsddwmqgondj

That does seem to make it a bit faster (down to 10-20 seconds). But in
order to make it work on main I had to manually download the latest ECJ and
point at it (
https://youtrack.jetbrains.com/issue/IDEA-355457/Update-Eclipse-ECJ-compiler),
and also had to add an extra dependency for the commons logger in Core
because IntelliJ didn't resolve it itself. So that's not an ideal solution.

Does everyone else have the same experience with running things from
intellij? Any tips to improve it?

Thanks

Reply via email to