Forums / Developer / Target-Time to render a single page

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

eZ debug

Timing: Jan 31 2025 04:21:27
Script start
Timing: Jan 31 2025 04:21:27
Module start 'content'
Timing: Jan 31 2025 04:21:27
Module end 'content'
Timing: Jan 31 2025 04:21:27
Script end

Main resources:

Total runtime0.1439 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.9531180.8281
Module start 'content' 0.00480.0049 768.781398.0078
Module end 'content' 0.00970.1341 866.7891527.7969
Script end 0.1438  1,394.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00292.0331200.0001
Check MTime0.00120.8296200.0001
Mysql Total
Database connection0.00050.378010.0005
Mysqli_queries0.100769.98321410.0007
Looping result0.00110.73681390.0000
Template Total0.133893.010.1338
Template load0.00090.630410.0009
Template processing0.132992.387510.1329
Override
Cache load0.00050.362910.0005
Sytem overhead
Fetch class attribute can translate value0.00050.344010.0005
XML
Image XML parsing0.00020.150110.0002
General
dbfile0.00916.3405200.0005
String conversion0.00000.003130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs