[
https://issues.apache.org/jira/browse/MNG-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Ashitkin updated MNG-6774:
------------------------------------
Description:
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 in
maven domain model
h3. Open design questions
* immutability in core classes to make concurrent implementation more safe
was:
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
> 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 in
> maven domain model
> 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)