Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10709

Performance regression in Gradle with Groovy 4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.3
    • 4.0.5
    • None
    • None

    Description

      The Gradle team is exploring Groovy 4 as the included version for our next major release.

      Our initial performance tests show a significant regression which may be caused by excessive method calls to generate specialized exceptions that don't have stacks.

      I will attach a tome of performance data comparing Gradle built with Groovy 3.0.11 vs. 4.0.3. Interesting measurements are available at:

      • run-help/7.6-20220727093039+0000/diffs/run-help-7.6-20220727093039+0000-vs-7.5-cpu-simplified-backward-diff-flames.svg
      • performance-tests/report/index.html -> comparing "Gradle 7.5" vs. "Current Gradle" shows a significant regression.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              DPUkyle Kyle Moore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: