That really depends on what you are doing or more exactly how you use the framework. Also, with today's hardware capabilities what is an issue today might not count in a few months.
Not sure if you ask this because there is an application requirement which says that performance is important or you are just wondering, but consider this: there were some people that used Hibernate in an application and noticed it was sloooow. Then some guys refactored it, optimized it, with plain JDBC, iBatis or whatever and it ran faaaaast. So, the conclusion was: Hibernate is slow.
But they did not consider that the technology was misused. Yeah... it's cool that you can write object.getX().getZ().getW().getSomeOtherThing().getEtc()
and it just works, but Hibernate will generate the SQL and Heaven help you there.
Before doing anything, consider the rules of optimisation:
- First rule of optimization - Don't do
it.
- Second rule of optimization (for experts) - Don't do it... yet.
Adding a framework is usually a good thing because it eases development. If it adds overhead? Well... you can't tell just by looking at it. You have to profile it and test it.