1 Reply Latest reply on Jan 27, 2010 8:17 PM by Mark Wigmans

    Performance Analysis

    Sascha Janz Master

      my application has bad performance.


      i checked my classes, but they seem ok.


      how can i check what the framework does? any hints/tools i should use?


      it seems there is some problem. some request took between 1ms and 4 s. i don't know why.

        • 1. Re: Performance Analysis
          Mark Wigmans Newbie
          I did the following to check where the time is spend:
          http://seamframework.org/Community/SeamPerformanceProblemRewardingWorkaround

          And I added the timingInceptor to the standard list of interceptors, so that all components are measured. This can be done by adding the following part in the components.xml:

          <core:init debug="@debug@" jndi-pattern="@jndiPattern@">
          <core:interceptors>
          <value>org.jboss.seam.core.SynchronizationInterceptor</value>               <value>org.jboss.seam.async.AsynchronousInterceptor</value>               <value>org.jboss.seam.ejb.RemoveInterceptor</value>               <value>org.jboss.seam.persistence.HibernateSessionProxyInterceptor</value>               <value>org.jboss.seam.persistence.EntityManagerProxyInterceptor</value>               <value>org.jboss.seam.core.MethodContextInterceptor</value>               <value>org.jboss.seam.core.EventInterceptor</value>               <value>org.jboss.seam.core.ConversationalInterceptor</value>               <value>org.jboss.seam.bpm.BusinessProcessInterceptor</value>               <value>org.jboss.seam.core.ConversationInterceptor</value>               <value>org.jboss.seam.core.BijectionInterceptor</value>
          <value>org.jboss.seam.transaction.RollbackInterceptor</value>               <value>org.jboss.seam.transaction.TransactionInterceptor</value>
          <value>org.jboss.seam.webservice.WSSecurityInterceptor</value>               <value>org.jboss.seam.security.SecurityInterceptor</value>                              <value>TimingInterceptor</value>
          </core:interceptors>
          </core:init>

          I hope this helps you