Dear,

While investigating improvements for the startup of our application we
found a possible improvement for the Aries code base.

One item that occurred during profiling was the call to sort the resources
by start value in the StartAction class. During sorting, the
SubsystemContentHeader is parsed every time the start order of a bundle is
needed. By eagerly parsing the header and storing the start value for every
bundle, we achieved a 33% improvement in the installation phase of the
startup of our application.

The changes can be found at
https://github.com/apache/aries/compare/subsystem-2.0.x...WouterBanckenACA:sorting_performance_optimalisation

Are there any objections to this change? Can this be included in Aries in
some way?

Best regards,
Wouter Bancken

Reply via email to