1 Reply Latest reply on Jul 10, 2012 2:21 AM by iabughosh

    Rich Faces 4.0 Performance Benchmark

    vinod1.s

      Hello,

       

      We are using Rich faces in our project, overall it is great, when we did performance testing, we noticed that Rich faces has lot of JS/CSS/Image files as part ot the library,. This is causing some performance overhead, when the user logs in. Based on Rich faces JSF project, what are the ways we can make this more efficient. Also we are taking 10s for a JSF home screen to be launched, but the application expectation is 5s login. Typically what is the loading time for Rich faces application with usual controls like Date picker and Ajax to come up? Thank you

        • 1. Re: Rich Faces 4.0 Performance Benchmark
          iabughosh

          Hello Vinod,

          try adding these two parameters to your web.xml and do your test again:

          <context-param>

              <param-name>javax.faces.PROJECT_STAGE</param-name>

              <param-value>Production</param-value>

            </context-param>

           

          <context-param>

              <param-name>org.richfaces.resourceOptimization.enabled</param-name>

              <param-value>true</param-value>

          </context-param>

           

          kindly inform me about the results,

           

          note: resourceOptimization works with RichFaces 4.2.x

           

          regards.