CFMX compiles all ur code on first run...or after changes are made. In production be sure to enable template caching, big performance boost!
Stace
-----Original Message-----
From: Dave Phipps [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 7:57 AM
To: Fusebox List
Subject: Fusebox 3 on CFMX
Hi,
I have just upgraded my dev machine to CFMX and I have noticed that my
fusebox apps are running really slowly on it. Below is an example of the
execution times for one particular section. Once the section has been
called once then it all seems to run really quickly but why is it so slow
first time around and how can I speed things up?
Total Time Avg Time Count Template
5337 ms 5337 ms 1 C:\Inetpub\wwwroot\projects\homesite\index.cfm
5327 ms 5327 ms 1
C:\Inetpub\wwwroot\projects\homesite\fbx_fusebox301_CF50_nix.cfm
3154 ms 3154 ms 1 C:\Inetpub\wwwroot\projects\homesite\about\fbx_Switch.cfm
2143 ms 2143 ms 1 C:\Inetpub\wwwroot\projects\homesite\typicallayout.cfm
40 ms 40 ms 1
C:\Inetpub\wwwroot\projects\homesite\about\qry_about_top_headlines.cfm
10 ms 10 ms 1 C:\CFusionMX\CustomTags\secure.cfm
10 ms 10 ms 1 C:\Inetpub\wwwroot\projects\homesite\dsp_header.cfm
10 ms 10 ms 1 C:\Inetpub\wwwroot\projects\homesite\fbx_Settings.cfm
0 ms 0 ms 1 C:\Inetpub\wwwroot\projects\homesite\Application.cfm
0 ms 0 ms
1 C:\Inetpub\wwwroot\projects\homesite\about\dsp_unauth_about.cfm
0 ms 0 ms
1 C:\Inetpub\wwwroot\projects\homesite\about\fbx_Settings.cfm
0 ms 0 ms 1 C:\Inetpub\wwwroot\projects\homesite\dsp_footer.cfm
0 ms 0 ms 1 C:\Inetpub\wwwroot\projects\homesite\fbx_Circuits.cfm
0 ms 0 ms 1 C:\Inetpub\wwwroot\projects\homesite\fbx_Layouts.cfm
0 ms STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
5337 ms TOTAL EXECUTION TIME
Also, are there any plans to make the core file into a CFC or have I
misunderstood what CFC's are for?
If I understand it correctly making the core file into a CFC will enable
you to have just one copy of it on the server and call it in every fusebox
app. instead of having it located in every root application.
If I am way off the mark with this idea then please let me know as I may
have missed something about CFC's.
Cheers
Dave Phipps
============================================
Phipps CF Development
Oxford, Oxfordshire.
Telephone: +44(0)7718 896696
http://www.phipps-cf.co.uk
============================================
AVIS IMPORTANT:
-------------------------------
Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme.
WARNING:
-------------------------------
The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind.
==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
