users@javaserverfaces.java.net

Re: JSF performance in GF 4.0

From: manfred riem <manfred.riem_at_oracle.com>
Date: Thu, 24 Oct 2013 11:50:15 -0500

Hi there,

If you are using the same JSF runtime you should be seeing the same results.

If you are not then please see if you are doing something with CDI as the
CDI behavior has changed a bit between EE6 and EE7

Manfred

On 10/24/13 11:37 AM, wismar25_at_hotmail.com wrote:
> Hi Manfred,
>
> I've tested with an application using jsf tags only, the time with GF4
> is higher than with GF3.1.2.2, if the interface is more complex then
> the response time is greater.
>
> I' was trying to check where is the problem in my app, especially with
> complex interfaces, the profiler showed me this:
>
> GF3.1.2.2:
> https://www.dropbox.com/s/7j8otrrbar6bfl3/Test1%20-%20GF3.1.2.2.png
> GF4.0: https://www.dropbox.com/s/b5xr8qmmq3tmdzm/Test1%20-%20GF4.0.png
>
> I'm using JSF 2.2.4 in both cases, the time grew in the restore view
> phase. How you can see in GF4 the createComponent is called (more than
> one time).
>
> Maybe JSF is doing a different work depending from the server or some
> library (GF3 for Java EE6 vs GF4 for Java EE7)