Brian and Nathan,

   At this point, the app is still in development I have not done any testing w/ debugging disabled.  It was just a general feeling I got from using the app (while developing it). 

 I'm trying to figure out if I should re-architect the app to use less layers of nested CFCs  (from your two responses, the answer is no).

 A quick glance at some of the execution times, it appears that the biggest problems are in the templates, not the CFCs.  I tend to agree with Nathan's speculation that the problem may be in how the data is exchanged between components and the outside world.

 I wouldn't have given it a second thought if the login was slow and everything else was okay.  I'll have to look more in depth at performance problems later on. 

 Does anyone else have any thoughts on my initial post? 

At 10:38 AM 9/30/2004, you wrote:
Jeff, possible stupid question but do you have debugging disabled?  That said, we�ve got some CFC models that make extensive use of composition that can go several levels deep.  We haven�t seen any unusual performance issues.
 
Regards,
 
Brian
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jeffry Houser
Sent: Thursday, September 30, 2004 10:24 AM
To: cfcdev
Subject: [CFCDev] Nested CFC Performance
 

 Has anyone had any experience (or performance issues) with the use of nested CFCs? 

 For example: 

 I have a user component.  That User component can have any number of profiles, so the User Component contains an array of Profile Components.  Each profile can have two addresses (say a billing address and a shipping address), so the Profile component contains 2 address components.  Etc.. etc..

 This might be a representation in ASCII glory:

User
|
|--UserProfiles (Array of Profiles)
|   |
|   |---Billing Address (Address component)
|   |-- Shipping Address (Address component)
|
|--Mailing Address  (Address component)

 This example goes 3 levels deep.  The full model, has CFCs nested up to 5 levels deep.  Most of the data is loaded when a user logs in and stored in the session scope, and then can all be accessed via "session.user.whatever"

 The application appears to be equally slow on both CFMX and BlueDragon, although I haven't done any serious performance testing. 


--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
My Recording Studio: <http://www.fcfstudios.com>
My Energetic Acoustic Rock Band: <http://www.farcryfly.com>
--
When did Reality Become TV

--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
My Recording Studio: <http://www.fcfstudios.com>
My Energetic Acoustic Rock Band: <http://www.farcryfly.com>
--
When did Reality Become TV

Reply via email to