# \#performance

**URL:** https://discuss.gradle.org/tag/performance/185.md

[Latest](https://discuss.gradle.org/latest.md) · [Categories](https://discuss.gradle.org/categories.md) · [Tags](https://discuss.gradle.org/tags.md)

---

## [Why is gradle so much slower on Windows / NTFS?](https://discuss.gradle.org/t/why-is-gradle-so-much-slower-on-windows-ntfs/20108)

<div class="topic-metadata">

**Author:** [@Frode\_Nilsen](https://discuss.gradle.org/u/Frode_Nilsen)\
**Replies:** 7\
**Last updated:** [November 19, 2024, 7:14pm UTC](https://discuss.gradle.org/t/why-is-gradle-so-much-slower-on-windows-ntfs/20108 "2024-11-19T19:14:51Z")

</div>

I have a laptop with dual boot on which I noticed significant performance difference on my Android work project between Windows 10 and Linux Ubuntu 14. I isolated the main difference to the java compile time phase, I the…

---

## [Duplicate work between commandline and eclipse](https://discuss.gradle.org/t/duplicate-work-between-commandline-and-eclipse/38900)

<div class="topic-metadata">

**Author:** [@moley](https://discuss.gradle.org/u/moley)\
**Replies:** 2\
**Last updated:** [February 2, 2021, 8:54am UTC](https://discuss.gradle.org/t/duplicate-work-between-commandline-and-eclipse/38900 "2021-02-02T08:54:11Z")

</div>

Hi, I have checked out a project in commandline and build it with gradlew testClasses. Afterwards I import it with eclipse buildship (latest as well as older versions) in my eclipse instance. When importing the build …

---

## [Build cache key consistent, but build cache always misses](https://discuss.gradle.org/t/build-cache-key-consistent-but-build-cache-always-misses/30510)

<div class="topic-metadata">

**Author:** [@liblit](https://discuss.gradle.org/u/liblit)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 8:16am UTC](https://discuss.gradle.org/t/build-cache-key-consistent-but-build-cache-always-misses/30510 "2019-03-06T08:16:48Z")

</div>

I have a custom task class, implemented in Groovy. It is a @CacheableTask with several @Input properties plus one @OutputFile property. Both --scan and -Dorg.gradle.caching.debug=true show that the build cache for a give…

---

## [Parallel executing test classes (maxParallelForks)](https://discuss.gradle.org/t/parallel-executing-test-classes-maxparallelforks/28825)

<div class="topic-metadata">

**Author:** [@erickcth](https://discuss.gradle.org/u/erickcth)\
**Replies:** 1\
**Last updated:** [September 28, 2018, 6:02am UTC](https://discuss.gradle.org/t/parallel-executing-test-classes-maxparallelforks/28825 "2018-09-28T06:02:43Z")

</div>

I am trying to improve speed up my CI process by using maxParallelForks onto my tests. However there are dependence in single test class, which parallel calling test methods will cause issues on duplicating initialise s…

---

## [Max workers and memory usage](https://discuss.gradle.org/t/max-workers-and-memory-usage/28447)

<div class="topic-metadata">

**Author:** [@wasyl](https://discuss.gradle.org/u/wasyl)\
**Replies:** 4\
**Last updated:** [September 2, 2018, 1:17pm UTC](https://discuss.gradle.org/t/max-workers-and-memory-usage/28447 "2018-09-02T13:17:51Z")

</div>

Hi all, I’m investigating some memory issues with our rather large Android build. I have couple of questions about possible memory usage with different options. From what I understand, org.gradle.workers.max property wi…

---

## [Build Cache misbehaving with the Android Plugin](https://discuss.gradle.org/t/build-cache-misbehaving-with-the-android-plugin/28183)

<div class="topic-metadata">

**Author:** [@vkryachko](https://discuss.gradle.org/u/vkryachko)\
**Replies:** 0\
**Last updated:** [August 15, 2018, 7:12pm UTC](https://discuss.gradle.org/t/build-cache-misbehaving-with-the-android-plugin/28183 "2018-08-15T19:12:52Z")

</div>

According to Build Cache documentation, the android plugin is supported and work well with it. But enabling build cache e.g. with the --build-cache flag does not work as expected, namely test and connectedTest tasks are…

---

## [How to find why gradle build is slow?](https://discuss.gradle.org/t/how-to-find-why-gradle-build-is-slow/24326)

<div class="topic-metadata">

**Author:** [@emartynov](https://discuss.gradle.org/u/emartynov)\
**Replies:** 3\
**Last updated:** [October 5, 2017, 8:09pm UTC](https://discuss.gradle.org/t/how-to-find-why-gradle-build-is-slow/24326 "2017-10-05T20:09:34Z")

</div>

Guys, It becomes more and more annoying. Current problems I have with my build: It is not incremental - it takes ages and re-runs many tasks even I didn't change anything in sources It is slow Any flag to run, any…

---

## [Test task with forkEvery 1 and includeCategories performs poorly](https://discuss.gradle.org/t/test-task-with-forkevery-1-and-includecategories-performs-poorly/23401)

<div class="topic-metadata">

**Author:** [@jaredjstewart](https://discuss.gradle.org/u/jaredjstewart)\
**Replies:** 4\
**Last updated:** [July 22, 2017, 5:15pm UTC](https://discuss.gradle.org/t/test-task-with-forkevery-1-and-includecategories-performs-poorly/23401 "2017-07-22T17:15:23Z")

</div>

I have a Test target that includes only one JUnit test category: task acceptanceTest(type:Test) { useJUnit { includeCategories 'org.apache.geode.test.junit.categories.AcceptanceTest' } forkEvery 1 } I only…

---

## [Memory leak in build scan plugin?](https://discuss.gradle.org/t/memory-leak-in-build-scan-plugin/22138)

<div class="topic-metadata">

**Author:** [@Markus\_Kohler](https://discuss.gradle.org/u/Markus_Kohler)\
**Replies:** 4\
**Last updated:** [April 6, 2017, 9:01am UTC](https://discuss.gradle.org/t/memory-leak-in-build-scan-plugin/22138 "2017-04-06T09:01:26Z")

</div>

Hi, I’m running gradle from HEAD using the daemon mode, with the 1.6 build scan plugin activated, and it looks like there might be a memory leak. I’ve got 45 instances of org.gradle.launcher.daemon.server.scaninfo.Defa…

---

## [Gradle build is very slow depending on the order of repositories](https://discuss.gradle.org/t/gradle-build-is-very-slow-depending-on-the-order-of-repositories/20120)

<div class="topic-metadata">

**Author:** [@szarnyasg](https://discuss.gradle.org/u/szarnyasg)\
**Replies:** 6\
**Last updated:** [October 30, 2016, 9:14pm UTC](https://discuss.gradle.org/t/gradle-build-is-very-slow-depending-on-the-order-of-repositories/20120 "2016-10-30T21:14:02Z")

</div>

Gradle Version: 3.0+ (tested with the lastest nightly, 3.3-20161023000015) Operating System and JVM version: Ubuntu 12.04+, Oracle JDK8 Is this a regression? If yes, which version of Gradle do you know it last worked fo…

---

## [Performance regression in ProjectBuilder in 2.14 and 3.0](https://discuss.gradle.org/t/performance-regression-in-projectbuilder-in-2-14-and-3-0/18956)

<div class="topic-metadata">

**Author:** [@Marcin](https://discuss.gradle.org/u/Marcin)\
**Replies:** 13\
**Last updated:** [October 13, 2016, 9:22am UTC](https://discuss.gradle.org/t/performance-regression-in-projectbuilder-in-2-14-and-3-0/18956 "2016-10-13T09:22:18Z")

</div>

Starting with Gradle 2.14(.1) the first time ProjectBuilder's initialization works significantly slower than in 2.13. For a simple test case: ProjectBuilder.builder().build() the time of execution (in a Spock unit te…

---

## [How can I run one Junit test at a time?](https://discuss.gradle.org/t/how-can-i-run-one-junit-test-at-a-time/19657)

<div class="topic-metadata">

**Author:** [@legit](https://discuss.gradle.org/u/legit)\
**Replies:** 1\
**Last updated:** [September 21, 2016, 7:26pm UTC](https://discuss.gradle.org/t/how-can-i-run-one-junit-test-at-a-time/19657 "2016-09-21T19:26:32Z")

</div>

I'm trying to fix our CI build of a specific project, this specific project has several JUnit tests that each individually load into memory about 1GB of data and then perform operations on it. The build server only has …

---

## [Test run slow when running with \`--test com.example.FooTest\`](https://discuss.gradle.org/t/test-run-slow-when-running-with-test-com-example-footest/18489)

<div class="topic-metadata">

**Author:** [@ketan](https://discuss.gradle.org/u/ketan)\
**Replies:** 4\
**Last updated:** [September 1, 2016, 11:44am UTC](https://discuss.gradle.org/t/test-run-slow-when-running-with-test-com-example-footest/18489 "2016-09-01T11:44:21Z")

</div>

When running tests using --tests, gradle seems to initialize other tests (although it does not run them) this significantly adds to test run times. This makes it unbearable when running with forkEvery option, because gra…

---

## [Gradle compileJava very slow (90s) for very small project](https://discuss.gradle.org/t/gradle-compilejava-very-slow-90s-for-very-small-project/17743)

<div class="topic-metadata">

**Author:** [@marceloverdijk](https://discuss.gradle.org/u/marceloverdijk)\
**Replies:** 9\
**Last updated:** [May 29, 2016, 7:38am UTC](https://discuss.gradle.org/t/gradle-compilejava-very-slow-90s-for-very-small-project/17743 "2016-05-29T07:38:02Z")

</div>

I have a very small project using Gradle 2.13 wrapper but the compileJava is very slow. I tried with ./gradlew clean compileJava -i --profile and the output is: Description Duration Total Build Time 1m29.17s Startup …
