Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3251

speeding up the build time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.8, 1.4
    • None
    • None

    Description

      Running the build with a

      {mvn clean install}

      takes a considerable amount of time: 15 minutes on my local.

      The top 10 slowest unit test are the following

      110.822 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
      54.012 sec org.apache.jackrabbit.oak.plugins.segment.SegmentDataStoreBlobGCTest
      36.593 sec org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest
      35.234 sec org.apache.jackrabbit.oak.jcr.query.QueryJcrTest
      25.047 sec org.apache.jackrabbit.oak.plugins.segment.file.FileStoreTest
      24.787 sec org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest
      17.477 sec org.apache.jackrabbit.oak.plugins.segment.ExternalBlobTest
      16.343 sec org.apache.jackrabbit.oak.jcr.query.QueryTest
      14.519 sec org.apache.jackrabbit.oak.plugins.segment.CompactionAndCleanupTest
      11.604 sec org.apache.jackrabbit.oak.run.osgi.LuceneSupportTest
      

      Is there anything we could do to speed-up these?

      sorted times obtained with https://gist.github.com/davidegiannella/b1d3cbe51d1f70314500

      Attachments

        1. build-1441353866.log
          180 kB
          Davide Giannella
        2. build-1441353866-times.log
          42 kB
          Davide Giannella
        3. build-1441637422.log
          178 kB
          Davide Giannella
        4. build-1443006309.log
          184 kB
          Davide Giannella
        5. oak-build-for-unittests-times.log
          180 kB
          Davide Giannella
        6. oak-build-times.log
          42 kB
          Davide Giannella
        7. times-1441637422.log
          43 kB
          Davide Giannella
        8. times-1443006309.log
          43 kB
          Davide Giannella

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              edivad Davide Giannella
              edivad Davide Giannella
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: