template function 'include' has long loading times

Author Message

Daniel Jüdel

Thursday 05 January 2006 2:59:51 am

I have a problem with the loading times of a website. If I use the template function "include" the template processing is longer than without "include". If I don't use "include" than I do all codes in one template (content, not pagelayout). The loading time of the website is much shorter (if I use one template). For some templates the loading time was by 15 times slower, if I use include-templates.

Template compile, content cache and template cache are enabled. I use eZ publish 3.6.1., PHP 4.3.10.

What can be the reason?

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 16:22:59
Script start
Timing: Jan 18 2025 16:22:59
Module start 'layout'
Timing: Jan 18 2025 16:22:59
Module start 'content'
Timing: Jan 18 2025 16:23:01
Module end 'content'
Timing: Jan 18 2025 16:23:01
Script end

Main resources:

Total runtime1.5061 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1797152.6406
Module start 'layout' 0.00540.0032 741.820339.4766
Module start 'content' 0.00861.4961 781.2969398.6641
Module end 'content' 1.50480.0013 1,179.96098.1250
Script end 1.5061  1,188.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2146160.0002
Check MTime0.00140.0906160.0001
Mysql Total
Database connection0.00080.053510.0008
Mysqli_queries1.469897.5836460.0320
Looping result0.00100.0692440.0000
Template Total1.465097.320.7325
Template load0.00200.135720.0010
Template processing1.462997.131020.7315
Template load and register function0.00020.014910.0002
states
state_id_array0.00150.100310.0015
state_identifier_array0.00150.097720.0007
Override
Cache load0.00160.105160.0003
Sytem overhead
Fetch class attribute can translate value0.00100.063910.0010
Fetch class attribute name0.00120.078410.0012
XML
Image XML parsing0.00010.006810.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0498100.0001
String conversion0.00000.000640.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs