Marko did some investigation, due to the latest AS5 performance complaints on the
jboss-dev ml.
Due to his results - AbstractMetaDataContext::getComponentMetaDataRetrieval is the biggest
hotspot -, I've decided to add caching impls that are part of MDR already, and will
work in bootstrap as well.
Marko's results on artificial app (100 EJBs, 100 @Local, 100 jsp):
| 21%
|
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(Signature)
(The method calls itself recursively)
|
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(Signature)
| org.jboss.aop.Advisor.hasJoinPointAnnotation(Class, Signature, String)
| org.jboss.aop.Advisor.hasAnnotation(long, Method, String, Class)
| org.jboss.aop.Advisor.hasAnnotation(Method, String)
| org.jboss.aop.pointcut.MethodMatcher.classMatchesAll(ClassExpression)
|
| org.jboss.aop.pointcut.MethodMatcher.matchesIdentifier(ASTMethod)
| org.jboss.aop.pointcut.MethodMatcher.matches(ASTMethod)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163486#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...