Forums / Developer / Performance and TS files question

Performance and TS files question

Author Message

luis muñoz

Thursday 22 September 2005 7:25:19 am

We are running a multilingual site with a lot of languages. We found that removing all the strings putted there by ez (about 95% of the strings) performance is greatly improved.
Compile times without cache changes from 60 secs max to 25 secs max.

This would be a great improve for us because the server load is going up and up with the time

I know the admin in different languages will be lost but it doesnt matter if we save so much resources.

My question is if there are any collateral effect for removing the 'unnecesary' content of the TS files

eZ debug

Timing: Jan 19 2025 06:05:59
Script start
Timing: Jan 19 2025 06:05:59
Module start 'content'
Timing: Jan 19 2025 06:05:59
Module end 'content'
Timing: Jan 19 2025 06:05:59
Script end

Main resources:

Total runtime0.8323 sec
Peak memory usage4,096.0000 KB
Database Queries47

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 588.9766180.8281
Module start 'content' 0.00710.8182 769.8047404.7266
Module end 'content' 0.82530.0069 1,174.531338.1016
Script end 0.8322  1,212.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3496140.0002
Check MTime0.00130.1543140.0001
Mysql Total
Database connection0.00110.133010.0011
Mysqli_queries0.795395.5645470.0169
Looping result0.00050.0592450.0000
Template Total0.802396.420.4011
Template load0.00210.251620.0010
Template processing0.800296.147220.4001
Template load and register function0.00020.019210.0002
states
state_id_array0.00100.120910.0010
state_identifier_array0.00130.151420.0006
Override
Cache load0.00170.200980.0002
Sytem overhead
Fetch class attribute can translate value0.00050.058910.0005
Fetch class attribute name0.00120.146010.0012
XML
Image XML parsing0.00010.014810.0001
class_abstraction
Instantiating content class attribute0.00000.001010.0000
General
dbfile0.00420.4987120.0003
String conversion0.00000.000730.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs