Performance and scalability: Reflection and Performance
- Posted by: Sriganesh Sundaram
- Posted on: March 06 2001 21:02 EST
I am trying to find out if there is a performance hit on excessive use of java reflection.
This is in context of a framework which I am using. The framework makes extensive use of reflection even in case where it is absolutely un-necessary. I am trying to find out if the slow performance can be attributed to that.
Any info would be greatly appreciated,
The reflection API is a performance hog. It should be avoided in cases where performance is an issue (especially if it is unnecessary).