Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2920

Optimize various points of the build

    XMLWordPrintableJSON

Details

    • Epic
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.22.0
    • Build
    • None
    • Faster Build

    Description

      The current time it takes to perform a full mvn clean install (with dependencies already downloaded) as well as the time it takes to run mvn site has historically been a problem for making more frequent releases. Today, I see that even on a CI machine, the tests themselves take about 30 minutes to complete (unsure if this time includes the total wall time or only the time spent executing tests), half of that in log4j-core.

      While working on LOG4J2-2653, I've begun the process of categorizing our tests and trying to identify which ones require special execution conditions (e.g., cannot be executed in parallel) with the hopes of enabling faster tests. With that idea in mind, I figured an actual epic for the various tasks required to optimize the build would make sense.

      The goal of this epic is to update our Maven build so that tests can execute more quickly, less toolchains/compilers are required to build, and other friction points that add unnecessary time to the build.

      Attachments

        Activity

          People

            pkarwasz Piotr Karwasz
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: