3 Replies Latest reply on May 22, 2009 11:19 PM by Arbi Sookazian

    Seam 2.1.1 performance with debug="true"

    Paul Tillotson Newbie

      With Seam 2.1.1.GA, I set debug="true" in the components.xml.

      <core:init debug="true" jndi-pattern="@jndiPattern@"/>

      I find that every HTTP request, whether for seam pages, seam pages with no components, static html pages, css and javascript files all take about 1.4 seconds.

      If I set debug="false", requests for static content take 10 or 20 milliseconds (nearly instant).

      What kind of performance difference do other people see when enabling debug? 

      Is this just a cost that must be paid for having debug="true", or is there something I can do to avoid this?