You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Ashitkin (Jira)" <ji...@apache.org> on 2019/10/03 05:11:00 UTC
[jira] [Updated] (MNG-6774) Speedup project graph build by
paralleling operations
[ https://issues.apache.org/jira/browse/MNG-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Ashitkin updated MNG-6774:
------------------------------------
Priority: Minor (was: Major)
> Speedup project graph build by paralleling operations
> -----------------------------------------------------
>
> Key: MNG-6774
> URL: https://issues.apache.org/jira/browse/MNG-6774
> Project: Maven
> Issue Type: Improvement
> Components: Performance
> Affects Versions: 3.6.2
> Reporter: Alexander Ashitkin
> Priority: Minor
>
> h3. 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.
> h3. Proposal
> * build graph concurrently with degree up to allowed by user with -T option
> h3. Preliminary results
> * graph time improved from 14..15 to 5..6 seconds with 4 threads
> h3. Rejected options
> * serialize graph state - require huge rework to introduce serialization
> h3. Open design questions
> * immutability in core classes to make concurrent implementation more safe
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)