Target-Time to render a single page

Author Message

Nabil Alimi

Tuesday 18 April 2006 3:43:20 am

Hi,

I was working on caching and I was wondering what <i>Total script time</i> is considered to be "good" render time.
The number of view pages and unique visitors will be very variable.

Actually, for a single user (myself :) ) I get :

<b>ini_load</b>
Load cache 0.0325 sec 10.7713% 8 0.0041 sec
<b>Mysql Total</b>
Mysql_queries 0.0080 sec 2.6489% 36 0.0002 sec
Looping result 0.0031 sec 1.0255% 29 0.0001 sec
Template Total 0.2367 sec 78.4% 2 0.1183 sec
Template load 0.0130 sec 4.2974% 2 0.0065 sec
Template processing 0.2233 sec 74.0103% 1 0.2233 sec
<b>override</b>
Cache load 0.0104 sec 3.4426% 2 0.0052 sec
Matching rules 0.0096 sec 3.1858% 12 0.0008 sec
Total script time: 0.3018 sec

What about ez.no for example ? :)

EDIT : Ok I've reached ~0.1800.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Xavier Dutoit

Tuesday 18 April 2006 4:19:06 am

Hi,

That obviously depends on the hardware and the complexity of the layout. At 0.2 0.3 I wouldn't spend time trying to get any better.

There is a thread with various people posting their result.

X+

http://www.sydesy.com

Ole Morten Halvorsen

Tuesday 18 April 2006 4:34:42 am

What about ez.no for example ? :)

There are two articles on the ez.no setup:
1. http://ez.no/community/articles/clustering_ez_publish
2. http://ez.no/community/news/ez_publish_3_enterprise_setup_test (slightly outdated)

A cached ez.no page loads in about ~0.05 seconds.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Bertrand Dunogier

Tuesday 18 April 2006 5:38:02 am

On decent hardware, I usually manage to get the loading time for a content page down to < 0.1 sec (0.07 or 0.08 after one or two refresh).

What I notice in your post is that you still have more than 20 SQL queries executed on the page. Using cache blocks you can get it down to 1 or 2. Then we can start talking business :-)

(I don't think you can go way below 0.1 on good hardware)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

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

Main resources:

Total runtime0.7134 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0703152.6250
Module start 'layout' 0.00470.0020 741.695339.4453
Module start 'content' 0.00680.7056 781.1406636.6641
Module end 'content' 0.71230.0010 1,417.804712.1563
Script end 0.7133  1,429.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4170160.0002
Check MTime0.00130.1800160.0001
Mysql Total
Database connection0.00080.110210.0008
Mysqli_queries0.664793.1744640.0104
Looping result0.00050.0695620.0000
Template Total0.688196.520.3441
Template load0.00200.280020.0010
Template processing0.686196.183920.3431
Template load and register function0.00010.012210.0001
states
state_id_array0.00080.113810.0008
state_identifier_array0.00140.196220.0007
Override
Cache load0.00180.2458400.0000
Sytem overhead
Fetch class attribute can translate value0.00050.068540.0001
Fetch class attribute name0.00140.202870.0002
XML
Image XML parsing0.00140.194240.0003
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.00090.1310280.0000
String conversion0.00000.000540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs