Forums / Setup & design / wrong debug time accumulators

wrong debug time accumulators

Author Message

Marko Žmak

Monday 23 January 2006 3:14:20 pm

I've been doing some optimizations on my site, so I started examining eZ timing points. I found out that the time accumulators displayed on the bottom are not consistent. Total execution time doesn't seem to be the sum of all acumulators. Why? Here's the ouptut:

Timing points:
Checkpoint Elapsed Rel. Elapsed Memory Rel. Memory
Module start 'content' 0.0000 sec 0.0721 sec 0.0000KB 0.0000KB
Module end 'content' 0.0721 sec 0.8162 sec 0.0000KB 0.0000KB
End 0.8883 sec 0.0000KB 0.0000KB
Total runtime: 3.3168 sec
Time accumulators:
Accumulator Elapsed Percent Count Average
ini_load
Load cache 0.0328 sec 0.8468% 11 0.0030 sec
FindInputFiles 0.0192 sec 0.4947% 11 0.0017 sec
Mysql Total
Mysql_queries 0.0151 sec 0.3898% 32 0.0005 sec
Looping result 0.0141 sec 0.3643% 31 0.0005 sec
TS translator
TS init 0.0169 sec 0.4361% 4 0.0042 sec
TS cache load 0.0099 sec 0.2547% 4 0.0025 sec
TS context load 0.0072 sec 0.1848% 4 0.0018 sec
Template Total 0.8794 sec 22.7% 2 0.4397 sec
Template load 0.0216 sec 0.5571% 2 0.0108 sec
Template processing 0.8571 sec 22.1066% 2 0.4285 sec
Template load and register function 0.0049 sec 0.1265% 3 0.0016 sec
override
Cache load 0.0176 sec 0.4532% 3 0.0059 sec
XML
Image XML parsing 0.0093 sec 0.2396% 3 0.0031 sec
Sytem overhead
Fetch class attribute name 0.0018 sec 0.0466% 1 0.0018 sec
class_abstraction
Instantiating content class attribute 0.0027 sec 0.0705% 1 0.0027 sec
Total script time: 3.8771 sec

Acourding to whis, Total time should be 1,9 sec, bu it's 3,8. How come? Where's the missing time?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Mark Marsiglio

Monday 13 February 2006 10:49:54 pm

I notice this issue as well. I am running a site that, when cached, will load anywhere from .20 to .80 seconds. When it is at .20, the accumulators add up to the right amount of seconds, and equal 100%.

When at .80 seconds total, the accumulators still add up to .20, and they total only about 25%. It would appear that some loads are seeing some phantom time loss.

I am running ez on some other servers that do not seem to experience this problem. They are actually slower servers, but render pages in as little as .08 seconds.

In all cases, the servers are running a PHP Acccelerator. In the most recent case the hardware is a 8-core Xeon server with 4gb RAM, so the processing horsepower seems like it should render the page a little better.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

eZ debug

Timing: Jan 18 2025 22:15:39
Script start
Timing: Jan 18 2025 22:15:39
Module start 'content'
Timing: Jan 18 2025 22:15:39
Module end 'content'
Timing: Jan 18 2025 22:15:39
Script end

Main resources:

Total runtime0.1497 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.0058 589.1406180.8359
Module start 'content' 0.00580.0053 769.976693.8672
Module end 'content' 0.01110.1385 863.8438529.3047
Script end 0.1496  1,393.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.1825200.0002
Check MTime0.00140.9594200.0001
Mysql Total
Database connection0.00080.550510.0008
Mysqli_queries0.106170.91151410.0008
Looping result0.00120.80641390.0000
Template Total0.138292.310.1382
Template load0.00080.547210.0008
Template processing0.137491.775310.1374
Override
Cache load0.00050.348110.0005
Sytem overhead
Fetch class attribute can translate value0.00080.526510.0008
XML
Image XML parsing0.00030.176510.0003
General
dbfile0.00412.7482200.0002
String conversion0.00000.003230.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