Hi all,
    we all know about the Enable Performance Monitoring flag in the CF debug
settings, it throws out some rough information about the processing time of
each template used the the request.  But it's a pretty rough estimate, below
a certain threshold and values are set to 0 for example.  Now my coding
style (I call it PlugBox, it's a highly bastardized fusebox 2) means that I
write applications using many small files - most of them doing very small
jobs that take less than that threshold.  This obviously makes it a little
tricky to performance tune applications.

Does any body know a way that a finer grain of performance indication can be
achieved ?

Take for example the following request...

Execution Time
1893 milliseconds
30 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\APPLICATION.CFM
50 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\APP_RUNCORE.CFM
30 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\INDEX.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_BACKSTACK.CFM
441 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_CORE.CFM
20 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_EXPOSESERVICES.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_FORMURLTOATTRIBUTES.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_HACKERCHECK.CFM
140 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_HANDLER.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_HIJACKERCHECK.CFM
100 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_LOADCONFIG.CFM
20 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_LOADGLOBALSETTINGS.CFM
40 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_RUNONCE.CFM
21 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_SEARCHCACHE.CFM
10 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\APP_STORECACHE.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PBCORE\LIB_PB_FUNCTIONS.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PB_BRANCHSETTINGS.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PB_INPUTFILTER.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PB_LAYOUTHANDLER.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PB_LOCALSETTINGS.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PB_OUTPUTFILTER.CFM
10
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\APP_RUNCORE.C
FM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\DSP_ADMINISTR
ATIONLAYOUT.CFM
20
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\PB_HANDLER.CF
M
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\PB_LOCALSETTI
NGS.CFM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\PB_OUTPUTFILT
ER.CFM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\PB_PROVIDES.C
FM
10
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_ADMINISTRATIONLAYOUT\QRY_ADMINISTR
ATIONLAYOUT.CFM
50 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\APP_RUNCORE.CFM
0 msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\CHILD.CFM
10 msD:\JO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YACCOUNTS\PLUGIN_WEBPAYSITES\
FIELD.CFM
70
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
FIELDSET.CFM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_BRANCHSETTINGS.CFM
130
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_HANDLER.CFM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_INPUTFILTER.CFM
60
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_LOCALSETTINGS.CFM
0
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_OUTPUTFILTER.CFM
10
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
PB_PROVIDES.CFM
110
msD:\JOBS\MEGAMALL\MEGAMALL\WEBPAY\PLUGIN_WEBPAYACCOUNTS\PLUGIN_WEBPAYSITES\
QRY_FORM.CFM
0 msSTARTUP, PARSING, & SHUTDOWN



I can see roughly what is taking the time in this request, but it is very
rough, it would be nice to see that for template bar.cfm 10ms was spent
processing tag <CFFOO/> or even just return something useful instead of 0
for those very quick templates.  It would also be better if multiple calls
to the same template were not lumped togethor, for example in the above all
the templates in \PBCORE\ get run multiple times (4 times if I count
correctly) but they each only get one time.

Ideas ??

---
James Sleeman

Innovative Media Ltd
Ph: (03) 377 6262
http://www.websolutions.co.nz

CAUTION:  The information contained in this email message is confidential
and may be legally privileged.  If the reader of this message is not the
intended recipient you are notified that any use, dissemination,
distribution or reproduction of this message is prohibited.  If you have
received this message in error please notify the sender immediately and
destroy the original message and any attachments.

Views expressed in this communication may not be those of Innovative Media
Ltd.

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to