Hey, Is it possible that the getProperty indirectly invokes some expensive computation? For example, do you have lots of logic inside your getters?
Regards, Jan-Kees 2010/1/8 Ravi Kapoor <[email protected]>: > Hi Matthias, > > Here are the details: > > Server: Websphere 6.1 > > Trinidad version: 1.0.7 (We cant upgrade to 2.0 until we upgrade websphere > which will happen in due course. Even then if this issue has not been > addressed, the problem may exist in 2.0 as well.) > > OS: Windows (Even though I am measuring numbers on windows but I do not > think this is OS specific) > > > Let me know if you need to know anything else. > > Regards > Ravi > > > > On Fri, Jan 8, 2010 at 1:09 AM, Matthias Wessendorf <[email protected]>wrote: > >> Hello Ravi, >> >> some more background would be good, e.g. what version of Trinidad etc. >> >> -Matthias >> >> On Thu, Jan 7, 2010 at 11:25 PM, Ravi Kapoor <[email protected]> >> wrote: >> > Has anybody done performance tests on trinidad application. I have an >> > application and it appears that it is taking 80-90% of CPU in my >> > application, thus killing performance. >> > >> > We ran load tests and our CPU went to 100% usage. At this point we >> measured >> > how much time was being taken by each class/method. Here are some >> > interesting figures: >> > >> > CPU usage by all Trinidad + myfaces classes = 80-90% >> > Myfaces CPU usage (without trinidad) = 8% (which implies trinidad is >> taking >> > 70-80% of CPU) >> > Total time taken by one method >> > (org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty) = 40% >> > >> > Can anybody confirm that they have seen this behavior? >> > Or if somebody can confirm that this does not happen in their performance >> > tests, that should help too. >> > >> > Thanks >> > Ravi >> > >> >> >> >> -- >> Matthias Wessendorf >> >> blog: http://matthiaswessendorf.wordpress.com/ >> sessions: http://www.slideshare.net/mwessendorf >> twitter: http://twitter.com/mwessendorf >> >

