2016-07-21 17:02 GMT+02:00 Sreekanth S. Nair <sreekanth.n...@egovernments.org>:
> Hi Lukasz,
>                   I have debugged through the code (version : 2.3.24.1) and
> found the most time taking (marked in *red*) process ie at
> DefaultConfiguration#reloadContainer class when loading provider called
> convention.PackageProvider
>
> // Then process any package providers from the plugins
> Set<String> packageProviderNames =
> container.getInstanceNames(PackageProvider.class);
> for (String name : packageProviderNames) {
>     PackageProvider provider =
> container.getInstance(PackageProvider.class, name);
>     provider.init(this);
>     *provider.loadPackages(); //Taking long time here*
>     packageProviders.add(provider);
> }
>
>
> for the first time page loads. The same issue is there in 2.5.2 as well. Is
> it may be a default behavior to take time ?

I assume you have disabled devMode?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to