Updating translation slow

Author Message

Vincent Saulnier

Wednesday 26 March 2003 11:15:58 am

Fist of all, great release!

When updating the translation.ts file, it is very slow and use 99% of my server's CPU.

RC2 didn't do that!

Is it normal?

Bård Farstad

Thursday 27 March 2003 12:10:01 am

If you use eZ publish without mbstring compiled in it will convert strings using eZ publish PHP functions to do this. This is because of compatibility. This is only done the first time a translation is requested, it will then be stored in a cached version.

The string conversion is done since the .ts file is stored in unicode. We will try to get the linguist to store the .ts file in another character set, so string conversion is not done.

--bård

Documentation: http://ez.no/doc

Vincent Saulnier

Thursday 27 March 2003 5:57:28 am

If I activate mbstring, will it affect my eZPublish 2.2.x web Sites?

Bård Farstad

Thursday 27 March 2003 5:59:01 am

You can safely install mbstring on a server that hosts eZ publish 2.2.

--bård

Documentation: http://ez.no/doc

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 10:22:40
Script start
Timing: Jan 18 2025 10:22:40
Module start 'layout'
Timing: Jan 18 2025 10:22:40
Module start 'content'
Timing: Jan 18 2025 10:22:41
Module end 'content'
Timing: Jan 18 2025 10:22:41
Script end

Main resources:

Total runtime0.6396 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9141152.6250
Module start 'layout' 0.00540.0024 740.539139.4453
Module start 'content' 0.00790.6301 779.9844538.0703
Module end 'content' 0.63800.0016 1,318.054712.1641
Script end 0.6396  1,330.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4973160.0002
Check MTime0.00130.1964160.0001
Mysql Total
Database connection0.00080.124810.0008
Mysqli_queries0.587991.9043600.0098
Looping result0.00070.1017580.0000
Template Total0.606294.820.3031
Template load0.00180.286320.0009
Template processing0.604494.487320.3022
Template load and register function0.00110.168410.0011
states
state_id_array0.00110.165710.0011
state_identifier_array0.00140.218720.0007
Override
Cache load0.00150.2282180.0001
Sytem overhead
Fetch class attribute can translate value0.00130.195420.0006
Fetch class attribute name0.00190.298350.0004
XML
Image XML parsing0.00080.124620.0004
class_abstraction
Instantiating content class attribute0.00000.002760.0000
General
dbfile0.00090.1354170.0001
String conversion0.00000.001140.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
4content/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
2content/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: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs