Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6774

Speedup project graph build by paralleling operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.6.2
    • None
    • Performance
    • None

    Description

      Motivation

      In our project graph build time typically takes 14..15 seconds. 15-20 seconds penalty to run any operation is significant and could be improved. Currently it is a single threaded operation which could be improved. 

      Proposal

      • build graph concurrently with degree up to allowed by user with -T option

      Preliminary results

      • graph time improved from 14..15 to 5..6 seconds with 4 threads

      Rejected options

      • serialize graph state - require wide change to introduce serialization in maven domain model

      Open design questions

      • immutability in core classes to make concurrent implementation more safe

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Alexander Ashitkin Alexander Ashitkin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m