Skip to content

Conversation

@michael-o
Copy link
Member

See motivation in the ticket as well as the call hierarchy: https://issues.apache.org/jira/browse/MRESOLVER-132

@michael-o
Copy link
Member Author

@elharo I'd gently reuse my statement here for the Manager: #66 (comment). We can create a separate issue to improve the code.

@michael-o
Copy link
Member Author

@dantran Could you also kindly try this one for you. In my opinion this removes unnecessary locks. Use the same project as for the Redisson solution, but w/o Redisson.

@dantran
Copy link

dantran commented Aug 21, 2020

@michael-o I build MRESOLVER-132 branch together with maven 3.6.3 tag from the source. Still see the slow build.

* 60min+ versus 5 min using original maven 3.6.3

@michael-o
Copy link
Member Author

@michael-o Did you leave out any additional SyncContextFactory? I guess not. I expect that this change should actually improve performance with the bundled DefaultSyncContextFactory. This one is not necessary related to MRESOLVER-131.

@dantran
Copy link

dantran commented Aug 22, 2020

@michael-o, mine is a clean build only involves this branch ( ie no SyncContextFactory)

It is 10 minutes faster when using pure maven-resolver-1.5.1-SNAPSHOT at master

@michael-o
Copy link
Member Author

@dantran Thanks, if is supposed to be faster. This unnecessary sync is gone.

Copy link

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I left one little suggestion for an improvement, it could be significant on slow FS and probably more on Windows
Btw the change is good even in this form

Copy link

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

+1

@asfgit asfgit closed this in fcb6be5 Aug 29, 2020
@michael-o michael-o deleted the MRESOLVER-132 branch August 29, 2020 19:01
@jira-importer
Copy link

Resolve #896

1 similar comment
@jira-importer
Copy link

Resolve #896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants