Strange slow template performance

Author Message

Andreas Kaiser

Wednesday 27 February 2008 2:59:13 am

Hi,

I'm just upgraded a ezp 3.10 site to ezp 4.0 and having some slow performance in the 4.0 version.

The site loads faster in ezp 4, except in the gallery templates:

http://www.construidea.atela.biz/index.php/Productos/Andamios/Andamios (ezp 4 - 17 sec)
http://construidea.atela.biz/index.php/Productos/Andamios/Andamios (ezp 3.10 - under 1.5sec)

Note: These sites are hosted in different systems, both in a dedicated server with same components, but the ezp 4 is installed on a openvz vps (but with no limit in process & memory).

I have also another ezp4 web under development with "slower" performance in a template with images (it's a different siteaccess from previous ezp4 install), but I can't compare because this site was developed directly in ezp4: http://www.cellerix.atela.biz/index.php/Sobre-nosotros/Equipo (ezp4 - over 9sec)

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Xavier Dutoit

Thursday 28 February 2008 1:50:29 am

What are you using for the images ? GD ? Imagemagic ?

What's in the debug ?

X+

http://www.sydesy.com

Andreas Kaiser

Thursday 28 February 2008 12:52:55 pm

I'm using Imagemagick, now load times in these templates are correct after the first load (perhaps there was any problem with cache permission...) or with the VPS.

Anyway I will make some more tests... it was too strange, because my experience with ezp4 is that the performance is faster!

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:49:16
Script start
Timing: Jan 18 2025 02:49:16
Module start 'layout'
Timing: Jan 18 2025 02:49:16
Module start 'content'
Timing: Jan 18 2025 02:49:17
Module end 'content'
Timing: Jan 18 2025 02:49:17
Script end

Main resources:

Total runtime0.7423 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0469152.6250
Module start 'layout' 0.00560.0031 741.671939.4453
Module start 'content' 0.00870.7320 781.1172539.3594
Module end 'content' 0.74070.0016 1,320.476612.1563
Script end 0.7423  1,332.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4369160.0002
Check MTime0.00140.1860160.0001
Mysql Total
Database connection0.00080.106410.0008
Mysqli_queries0.691193.1042570.0121
Looping result0.00050.0666550.0000
Template Total0.714196.220.3571
Template load0.00200.275820.0010
Template processing0.712195.926220.3560
Template load and register function0.00010.013310.0001
states
state_id_array0.00080.104710.0008
state_identifier_array0.00120.165620.0006
Override
Cache load0.00160.2122200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.079320.0003
Fetch class attribute name0.00140.184150.0003
XML
Image XML parsing0.00090.119020.0004
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00080.1057220.0000
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs