Dave, The first time the app gets executed (any app, not just FB), it can take quite a while for the various CF files to get converted into Java servlets. After that, it's pretty danged speedy. That's just the nature of converting markup language to executable Java code.
Several people are working on ideas for incorporating some of the new things from MX into FB, specifically CFCs and native XML parsing. I'm going to be giving a talk at CFUN next weekend showing the use of CFCs with Fusebox and Model-View-Controller. All in an hour, no less, so I'm gonna have to talk fast! Hal -----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 ============================================ ==^================================================================ 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 ==^================================================================
