Best settings for debugging/development of templates

Author Message

chooch mcgooch

Tuesday 24 October 2006 9:52:49 am

I've done a few ez projects but find the template development time to be dragging on since I generally have to clear the cache for most changes I make, then the cache completely rebuilds it seems. I've tried several settings to speed up the development such as turning off template caches etc. I was wondering if anyone had some magic dev only settings I can throw in my siteaccess to make things quicker?

Any help is greatly appreciated.

Kristof Coomans

Tuesday 24 October 2006 11:02:42 am

Hello Chooch, welcome to the eZ community!

Take a look at http://pubsvn.ez.no/wiki/en/ez/debugging

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 20 2025 20:19:47
Script start
Timing: Jan 20 2025 20:19:47
Module start 'layout'
Timing: Jan 20 2025 20:19:47
Module start 'content'
Timing: Jan 20 2025 20:19:49
Module end 'content'
Timing: Jan 20 2025 20:19:49
Script end

Main resources:

Total runtime1.1575 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1563151.2422
Module start 'layout' 0.00590.0029 739.398436.7109
Module start 'content' 0.00881.1481 776.1094543.1250
Module end 'content' 1.15680.0007 1,319.23447.7969
Script end 1.1575  1,327.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2642160.0002
Check MTime0.00120.1071160.0001
Mysql Total
Database connection0.00090.080110.0009
Mysqli_queries1.122896.9972540.0208
Looping result0.00050.0420520.0000
Template Total1.127897.420.5639
Template load0.00200.170020.0010
Template processing1.125897.262520.5629
Template load and register function0.00020.017310.0002
states
state_id_array0.00070.059410.0007
state_identifier_array0.00130.109320.0006
Override
Cache load0.00160.138890.0002
Sytem overhead
Fetch class attribute can translate value0.00080.067620.0004
Fetch class attribute name0.00090.081230.0003
XML
Image XML parsing0.00050.039320.0002
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00070.0630160.0000
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs