sure we'll try. Maybe I can grab a few guys tomorrow on the JSFdays and implement it with them (I myself have no clue on that topic right now).
LieGrue, strub --- Martin Koci <[email protected]> schrieb am Mo, 22.2.2010: > Von: Martin Koci <[email protected]> > Betreff: Re: InjectionResolver.implResolveByName performance > An: [email protected] > Datum: Montag, 22. Februar, 2010 22:01 Uhr > > Yes, WebBeansELResolver tries to resolve every bean. > Very simple solution was to use JSF 2.0 artifact ordering > and put > <others/> element as last one but this solution > unfortunately has > influence on other unnamed or JSF 1.2 based artifact. > > Do you think it is possible to modify OWB built for > delivering JSF 2.0 > named artifact? It will help many projects with migration > from managed > beans and spring to CDI. > > Example: > > <absolute-ordering> > > <name>my_excelent_renderkit</name> > <name>openwebbeans</name> > <others /> > </absolute-ordering> > > > Joseph Bergmark píše v Po 22. 02. 2010 v 15:34 -0500: > > I believe the issue is that our EL resolver is first > in the chain, so gets > > called every single time even if the expression does > not turn out to be one > > that references a CDI bean. 2 million does seem > like a very large number of > > times though. > > > > Sincerely, > > > > Joe > > > > On Mon, Feb 22, 2010 at 3:32 PM, Mark Struberg <[email protected]> > wrote: > > > > > Thanks Martin! > > > > > > And yes, this may be a problem, though not sure > where it comes from ... > > > > > > :) > > > > > > LieGrue, > > > strub > > > > > > --- Martin Koci <[email protected]> > schrieb am Mo, 22.2.2010: > > > > > > > Von: Martin Koci <[email protected]> > > > > Betreff: InjectionResolver.implResolveByName > performance > > > > An: [email protected] > > > > Datum: Montag, 22. Februar, 2010 21:28 Uhr > > > > Hi, > > > > > > > > I did some profiling and YourKitProfiler > always marks > > > > InjectionResolver.implResolveByName as > hotspot. It is > > > > called over 2 > > > > mills. times per request/response. All those > calls come > > > > from > > > > ELResolver.getValue() - its is a very non > trivial JSF > > > > view so it is > > > > probably ok (even two milions) and in > application is no CDI > > > > bean yet > > > > (all are still spring and jsf > managed). > > > > Do you think it is a problem? > > > > > > > > Regards, > > > > > > > > Martin Kočí > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Sie sind Spam leid? Yahoo! Mail verfügt über > einen herausragenden Schutz > > > gegen Massenmails. > > > http://mail.yahoo.com > > > > > > __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com
