GradleInceptionPerformanceTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix inception build

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Merge branch 'release'

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 13 more files in changeset.
Merge remote-tracking branch 'origin/master-test' into release-test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 12 more files in changeset.
Rebaseline buildSrc test

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Redeclare PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY in internal-integ-testing

So that tests do not need to directly depend on the

dependency-management project only to access this property.

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 4 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 283 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 286 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 284 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 285 more files in changeset.
Use 'implementation' dependencies everywhere

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 285 more files in changeset.
Rework exclude rule merging

As a follow-up to #9197, this commit properly fixes the

exclude rule merging algorithm, by completely rewriting

it. The new merging algorithm works by implementing the

minimal set of algebra operations that make sense to

minimize computation durations. In order to do this,

this commit introduces a number of exclude specs

(found in their own package) and factories to create

actual implementation of those specs.

Specs represent the different kind of excludes we can

find:

- excluding a group

- excluding a module (no group defined)

- excluding a group+module

- excluding an artifact of a group+module

- pattern-matching excludes

- unions of excludes

- intersections of excludes

With all those minimal bricks, factories are responsible

of generating consistent specs. The dumbest factory

will just generate new instances for everything. This

is the default factory.

Minimally, this factory has to be backed by an optimizing

factory, which will take care of handling special cases:

- union or intersection of a single spec

- union or intersection of 2 specs

- when one of them is null

- when both are equal

Then we have a factory which performs the minimal algebra

to minimize specs:

- unions of unions

- intersections of intersections

- union of a union and individual specs

- insection of an intersection and individual spec

- ...

This factory can be as smart as it can, but one must be

careful that it's worth it: some previously implemented

optimizations (like (A+B).A = A turned out to be costly

to detect, and didn't make it the final cut.

Yet another factory is there to reduce the memory footprint

and, as a side effect, make things faster by interning

the specs: equivalent specs are interned and indexed, which

allows us to optimize unions and intersections of specs.

Last but not least, a caching factory is there to avoid

recomputing the same intersections and unions of specs

when we have already done the job. This is efficient if

the underlying (delegate) specs are easily compared,

which is the case thanks to the interning factory.

All in all, the delegation chain allows us to make

the algorithm fast and hopefully reliable, while

making it easier to debug.

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 91 more files in changeset.
Rebaseline `help on the gradle build comparing gradle`

after the upgrade to Kotlin 1.3.30

observed regression between 2 and 3%

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Let all inception performance tests skip buildSrc checks

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -2
    • +2
    ./GradleInceptionPerformanceTest.groovy
Temporarily ignore failing performance test

build failure, not a regression

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +1
    ./GradleInceptionPerformanceTest.groovy
Unignore disabled performance test

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Rebaseline broken performance test

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Revert "Performance test also use previous property for baseline to work"

Wasn't actually needed as this test will compare Gradle but always

use `gradleBuildCurrent`.

This reverts commit 58ff08ce87c74d4b10d939cbb0ec80350845ca8f.

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Reenable `buildSrc api change in gradleBuildCurrent comparing gradle`

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Performance test also use previous property for baseline to work

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Fix typo!

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
Disable buildSrc verification tasks by default

enable them on CI by default

allow to control whether they are enabled via a project property

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -1
    • +1
    ./GradleInceptionPerformanceTest.groovy
  1. … 1 more file in changeset.