Pages display is slower / progressive

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Pages display is slower / progressive

Eric DE MAULDE
Hi,

I updated my ofbiz with the official trunk (version  1220649).

Now pages display is slower and/or progressive.

The current test version 1220649 is on "test.fabiance.eu"
(this test server is slower than the production server)

The production server is on www.fabiance.fr (Old trunk version 1170985 :
page speed is OK)

The first slowness is between header and menu.

Has calling a screen become slower or has configuration/code changed ?

My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6

Thanks

Eric

Reply | Threaded
Open this post in threaded view
|

Re: Pages display is slower / progressive

Jacques Le Roux
Administrator
Hi Eric,

I guess you have tested with both versions on the same server?
Because it's the 1st time a such report is done

I'd 1st check for a configuration change. You are not using a cluster?

Jacques

From: "Eric de Maulde" <[hidden email]>

> Hi,
>
> I updated my ofbiz with the official trunk (version  1220649).
>
> Now pages display is slower and/or progressive.
>
> The current test version 1220649 is on "test.fabiance.eu"
> (this test server is slower than the production server)
>
> The production server is on www.fabiance.fr (Old trunk version 1170985 :
> page speed is OK)
>
> The first slowness is between header and menu.
>
> Has calling a screen become slower or has configuration/code changed ?
>
> My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
>
> Thanks
>
> Eric
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Pages display is slower / progressive

pierre.gaudin
HI Jacques and Eric,

I think Eric is right. Page display are slower due to lookup display by
Jquery. If there are many lookup on a page, display is slower and
progressive because each time a lookup is diplay a query is done to the
server...
You can see request with firebug.

I don't know why a query to the server is needed just to display a lookup...


Pierre

On 06/01/2012 06:56, Jacques Le Roux wrote:

> Hi Eric,
>
> I guess you have tested with both versions on the same server?
> Because it's the 1st time a such report is done
>
> I'd 1st check for a configuration change. You are not using a cluster?
>
> Jacques
>
> From: "Eric de Maulde" <[hidden email]>
>> Hi,
>>
>> I updated my ofbiz with the official trunk (version  1220649).
>>
>> Now pages display is slower and/or progressive.
>>
>> The current test version 1220649 is on "test.fabiance.eu"
>> (this test server is slower than the production server)
>>
>> The production server is on www.fabiance.fr (Old trunk version 1170985 :
>> page speed is OK)
>>
>> The first slowness is between header and menu.
>>
>> Has calling a screen become slower or has configuration/code changed ?
>>
>> My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
>> Thanks
>>
>> Eric
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Pages display is slower / progressive

Jacques Le Roux
Administrator
Hi Pierre, Eric,

http://svn.apache.org/viewvc?view=revision&revision=1170985 is fairly recent. I did not expect major lookup changes since then.
Could be though. Could you confirm Eric? Because what reported Eric looks more like a eCommerce UI where no lookups are used

Thanks

Jacques

From: "pierre.gaudin" <[hidden email]>

> HI Jacques and Eric,
>
> I think Eric is right. Page display are slower due to lookup display by
> Jquery. If there are many lookup on a page, display is slower and
> progressive because each time a lookup is diplay a query is done to the
> server...
> You can see request with firebug.
>
> I don't know why a query to the server is needed just to display a lookup...
>
>
> Pierre
>
> On 06/01/2012 06:56, Jacques Le Roux wrote:
>> Hi Eric,
>>
>> I guess you have tested with both versions on the same server?
>> Because it's the 1st time a such report is done
>>
>> I'd 1st check for a configuration change. You are not using a cluster?
>>
>> Jacques
>>
>> From: "Eric de Maulde" <[hidden email]>
>>> Hi,
>>>
>>> I updated my ofbiz with the official trunk (version  1220649).
>>>
>>> Now pages display is slower and/or progressive.
>>>
>>> The current test version 1220649 is on "test.fabiance.eu"
>>> (this test server is slower than the production server)
>>>
>>> The production server is on www.fabiance.fr (Old trunk version 1170985 :
>>> page speed is OK)
>>>
>>> The first slowness is between header and menu.
>>>
>>> Has calling a screen become slower or has configuration/code changed ?
>>>
>>> My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
>>> Thanks
>>>
>>> Eric
>>>
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Pages display is slower / progressive

Eric DE MAULDE
Hi Jacques, Pierre,

Thanks for your help.

On my home page & category pages, I don't have any query/lookup load by
jquery.
Just right images are loaded in a second time with a jquery code loads
the image attribute "url" to the source.
Jquery doesn't request the server.

ex. <img src="/images/ajax-loader.gif"
url="http://test.fabiance.eu/images/products/NAOMI/additional1/HomePageSlideShow.png" />

So even if I doesn't enable Javascript on browser, there is a
slower/progressive pages display.

The first slower screen is the Menu ...

Main decorator calls menu :
<include-screen name="Menu"
location="component://mobilier/widget/CommonScreens.xml"/>

And the Menu screen definition is :
<screen name="Menu">
        <section>
            <widgets>
                <platform-specific><html><html-template
location="component://mobilier/webapp/mobilier/menu/Menu.ftl"/></html></platform-specific>
            </widgets>
        </section>
</screen>

I'm checking logs.

Eric

On Fri, 2012-01-06 at 11:24 +0100, Jacques Le Roux wrote:

> Hi Pierre, Eric,
>
> http://svn.apache.org/viewvc?view=revision&revision=1170985 is fairly recent. I did not expect major lookup changes since then.
> Could be though. Could you confirm Eric? Because what reported Eric looks more like a eCommerce UI where no lookups are used
>
> Thanks
>
> Jacques
>
> From: "pierre.gaudin" <[hidden email]>
> > HI Jacques and Eric,
> >
> > I think Eric is right. Page display are slower due to lookup display by
> > Jquery. If there are many lookup on a page, display is slower and
> > progressive because each time a lookup is diplay a query is done to the
> > server...
> > You can see request with firebug.
> >
> > I don't know why a query to the server is needed just to display a lookup...
> >
> >
> > Pierre
> >
> > On 06/01/2012 06:56, Jacques Le Roux wrote:
> >> Hi Eric,
> >>
> >> I guess you have tested with both versions on the same server?
> >> Because it's the 1st time a such report is done
> >>
> >> I'd 1st check for a configuration change. You are not using a cluster?
> >>
> >> Jacques
> >>
> >> From: "Eric de Maulde" <[hidden email]>
> >>> Hi,
> >>>
> >>> I updated my ofbiz with the official trunk (version  1220649).
> >>>
> >>> Now pages display is slower and/or progressive.
> >>>
> >>> The current test version 1220649 is on "test.fabiance.eu"
> >>> (this test server is slower than the production server)
> >>>
> >>> The production server is on www.fabiance.fr (Old trunk version 1170985 :
> >>> page speed is OK)
> >>>
> >>> The first slowness is between header and menu.
> >>>
> >>> Has calling a screen become slower or has configuration/code changed ?
> >>>
> >>> My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
> >>> Thanks
> >>>
> >>> Eric
> >>>
> >>>
> >>
> >
> >


Reply | Threaded
Open this post in threaded view
|

Re: Pages display is slower / progressive

Eric DE MAULDE
If the same menu is static, without request to the database,
Menu displays silmutaneous with the header. It's OK.

The Freemarker version is same : 2.3.10

So do you believe slowness depends on database server
connection/configuration ?

But I don't understand why page display is now progressive !

Thanks

Eric

On Fri, 2012-01-06 at 16:03 +0100, Eric de Maulde wrote:

> Hi Jacques, Pierre,
>
> Thanks for your help.
>
> On my home page & category pages, I don't have any query/lookup load by
> jquery.
> Just right images are loaded in a second time with a jquery code loads
> the image attribute "url" to the source.
> Jquery doesn't request the server.
>
> ex. <img src="/images/ajax-loader.gif"
> url="http://test.fabiance.eu/images/products/NAOMI/additional1/HomePageSlideShow.png" />
>
> So even if I doesn't enable Javascript on browser, there is a
> slower/progressive pages display.
>
> The first slower screen is the Menu ...
>
> Main decorator calls menu :
> <include-screen name="Menu"
> location="component://mobilier/widget/CommonScreens.xml"/>
>
> And the Menu screen definition is :
> <screen name="Menu">
>         <section>
>             <widgets>
>                 <platform-specific><html><html-template
> location="component://mobilier/webapp/mobilier/menu/Menu.ftl"/></html></platform-specific>
>             </widgets>
>         </section>
> </screen>
>
> I'm checking logs.
>
> Eric
>
> On Fri, 2012-01-06 at 11:24 +0100, Jacques Le Roux wrote:
>
> > Hi Pierre, Eric,
> >
> > http://svn.apache.org/viewvc?view=revision&revision=1170985 is fairly recent. I did not expect major lookup changes since then.
> > Could be though. Could you confirm Eric? Because what reported Eric looks more like a eCommerce UI where no lookups are used
> >
> > Thanks
> >
> > Jacques
> >
> > From: "pierre.gaudin" <[hidden email]>
> > > HI Jacques and Eric,
> > >
> > > I think Eric is right. Page display are slower due to lookup display by
> > > Jquery. If there are many lookup on a page, display is slower and
> > > progressive because each time a lookup is diplay a query is done to the
> > > server...
> > > You can see request with firebug.
> > >
> > > I don't know why a query to the server is needed just to display a lookup...
> > >
> > >
> > > Pierre
> > >
> > > On 06/01/2012 06:56, Jacques Le Roux wrote:
> > >> Hi Eric,
> > >>
> > >> I guess you have tested with both versions on the same server?
> > >> Because it's the 1st time a such report is done
> > >>
> > >> I'd 1st check for a configuration change. You are not using a cluster?
> > >>
> > >> Jacques
> > >>
> > >> From: "Eric de Maulde" <[hidden email]>
> > >>> Hi,
> > >>>
> > >>> I updated my ofbiz with the official trunk (version  1220649).
> > >>>
> > >>> Now pages display is slower and/or progressive.
> > >>>
> > >>> The current test version 1220649 is on "test.fabiance.eu"
> > >>> (this test server is slower than the production server)
> > >>>
> > >>> The production server is on www.fabiance.fr (Old trunk version 1170985 :
> > >>> page speed is OK)
> > >>>
> > >>> The first slowness is between header and menu.
> > >>>
> > >>> Has calling a screen become slower or has configuration/code changed ?
> > >>>
> > >>> My database is PostgreSQL 8.4 on Linux Debian with JDK 1.6
> > >>> Thanks
> > >>>
> > >>> Eric
> > >>>
> > >>>
> > >>
> > >
> > >
>
>