[jboss-user] [JBoss Microcontainer Development] - JBoss Reflect Performance Javassist vs Introspection
Kabir Khan
do-not-reply at jboss.com
Wed Apr 14 10:57:17 EDT 2010
Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] replied to the discussion
"JBoss Reflect Performance Javassist vs Introspection"
To view the discussion, visit: http://community.jboss.org/message/537449#537449
--------------------------------------------------------------
I've tried starting AS with the two implementations, and the overhead of creating accessor classes means javassist is slower.
Javassist: ~24.5s
Introspection: ~21s
I need to profile this, but think this is because when configuring beans, we normally only set properties once, so we get the overhead of creating the class, but not the benefit of invoking it lots of times.
I will ask Chiba if there is anything that can be done to JavassistMembersFactory to make this faster.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537449#537449]
Start a new discussion in JBoss Microcontainer Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2115]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100414/09595e1d/attachment.html
More information about the jboss-user
mailing list