2 Replies Latest reply on Jan 20, 2009 2:08 AM by Jason Long

    Seam 2.0.2.SP1 vs 2.1.1.GA Performance

    Jason Long Novice

      I am using Seam 2.0.2.SP1 and would like switch to 2.1.1.GA.

      Would someone please comment on the performance of 2.0.2.SP1 vs 2.1.1.GA?

        • 1. Re: Seam 2.0.2.SP1 vs 2.1.1.GA Performance
          Troy Sellers Newbie

          Hi Jason,

          We are just in the process of finishing off a Seam application for a client of ours and have found the performance difference between 2.02 (we are using Redhat Seam) and 2.1.1.GA remarkably different.  So different in fact that we have asked redhat to support us on 2.1.1.GA.

          In the 2.1.1 release the Seam developers introduced the @BypassInterceptors tag, which allows parts of the code to skip the Seam processing for a lifecycle.  While we didn't use this much in our code I think the Seam developers have made heavy use of it which would account for the noticeable performance gains we have seen switching to 2.1.1 (at least i think this is the reason, no hard evidence on this !!)

          We have just started performance testing our application now and the initial results are not the best.  We are yet to profile and look at streamlining though it seems that memory usage of seam is rather heavy, although this is probably more a JSF thing as well.


          • 2. Re: Seam 2.0.2.SP1 vs 2.1.1.GA Performance
            Jason Long Novice

            I am using

            public class FormatProfitSummaryBean implements Serializable 
                 public String getRowColor() 
                      Map pipeSummary = (Map) Component.getInstance("saleSummary");
                      Double  percentProfit = (Double) pipeSummary.get("dynPerProfit");
                      if(percentProfit==null) return null;
                      if (percentProfit<0.06) return "red";
                      if (percentProfit>0.16) return "green";
                      return "";

            with 2.0.2.SP1 so this is not new.

            That is great to hear the performance is better.  I have been waiting for 2.1.1.GA to come out to switch.  Please post back any other findings.

            1.  So you migrated an existing application or wrote a new one that was just a lot faster than you expected?

            2.  Has the Seam Team profiled any of the examples vs the latest branches from 2.0.x and 2.1.x?

            3.  What did Redhat say about supporting 2.1.1.GA?