KotlinDslVsGroovyDslPerformanceTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix enableFeaturePreview failure on template project execution (#10470)

Fix https://github.com/gradle/gradle/issues/10454

Previously, lower Gradle version might not be able to execute the template project

generated because of it doesn't have some features. This commit fixes it by catching

the exception.

    • -2
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 3 more files in changeset.
Fix Feature preview for kotlin

    • -2
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 3 more files in changeset.
Fix Feature preview for kotlin

    • -2
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 3 more files in changeset.
Use daemon by default in cross build tests

    • -2
    • +0
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 6 more files in changeset.
Rename AbstractCrossBuild{GradleProfiler -> }PerformanceTest

There is only one.

    • -2
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 9 more files in changeset.
Convert all cross-build tests to use Gradle profiler

    • -2
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 7 more files in changeset.
Remove start and end from MeasuredOperation

The fields are unused and we can't fill them from Gradle profiler.

    • -1
    • +1
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 4 more files in changeset.
Remove start and end from MeasuredOperation

The fields are unused and we can't fill them from Gradle profiler.

    • -1
    • +1
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 4 more files in changeset.
Fail performance test iteration fast (#7777)

This fixes https://github.com/gradle/gradle-private/issues/1393

Previously, we collect all exceptions in the performance test execution then `assertEveryBuildSucceeds()`. This doesn't make any sense - we don't need to run the test any more if there's a failure. This PR fixes this issue by failing fast in performance iterations.

Also, we have 4 kinds of checks, which makes things complicated. This PR removes them and use `true/false` instead.

    • -3
    • +0
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 16 more files in changeset.
Rebaseline kotlin-dsl performance tests

Kotlin DSL 0.17.5 is slower than 0.17.4 for correctness fixes

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

    • -1
    • +1
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 1 more file in changeset.
Move RetryRule up in AbstractCrossBuildPerformanceTest

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

    • -6
    • +0
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 1 more file in changeset.
Extend AbstractCrossBuildPerformanceTest

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

    • -47
    • +7
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
Add artificial 10% tolerance that we can rebaseline in the future

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

    • -1
    • +21
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
Refine KotlinDslVsGroovyDslPerformanceTest

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

    • -8
    • +8
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
Add missing license header

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

    • -0
    • +15
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
Remove irrelevant kotlin-dsl template

large multi-project is enough

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

    • -5
    • +2
    ./KotlinDslVsGroovyDslPerformanceTest.groovy
  1. … 4 more files in changeset.
Performance test compare Kotlin & Groovy DSLs configuration time

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

    • -0
    • +131
    ./KotlinDslVsGroovyDslPerformanceTest.groovy