Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] About DefaultDependencyCollector API performance

Each m2e user action invocation, for example, single "update project
configuration" for one or more projects, is expected to use the same
aether repository session data for all projects involved. Different
action invocations use different session data.

--
Regards,
Igor

On 2014-06-19, 12:29, Benjamin Bentmann wrote:
Eric wrote:

I have 20 projects in my eclipse workspace, and most of the projects
having same direct or transitive dependencies...
Ex: for project A, it has library lib-1, lib-2
For project B, it has library lib-2, lib-3

I see lib-2 are processed 2 times, and recursively, if lib-2 and lib-3
both reference lib-4, lib-4 are also processed for 2 times.
Like the low level library jdom are processed many times when updating
project configurations with m2e.
Is there a possibility to reuse the same library to avoid processing
the same library multiple times?

Aether already caches various bits used for dependency collection but I
don't know to what degree these caches are employed by m2e or whether
they even address what you vaguely describe as "processing".

Without something concrete (as in runnable by somebody else) that
demonstrates your performance issue, I can't help much further.


Benjamin
_______________________________________________
aether-users mailing list
aether-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aether-users


Back to the top