Does CF cache the instantiated component somewhere, or does it have to
re-instantiate it for every request? This could be part of the performance
drop i.e.:

Run Application.cfm

Vs

Create component from Application.cfc -> invoke onRequest() method

-----Original Message-----
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Friday, 11 February 2005 4:01 
To: CF-Talk
Subject: Re: Using Application.cfc has decreased performance

On Thu, 10 Feb 2005 15:34:44 +0100, Micha Schopman
<[EMAIL PROTECTED]> wrote:
> It does, on each request
> 
> Application.cfm -> onRequestStart -> onRequest -> index.cfm

If you're using onRequest, there is no point in using onRequestStart as
well. Of course there's a minor performance overhead - CF is executing a
method that includes your page instead of executing your page directly. In
reality - real-world sites, with real-world load - that will make no
noticeable difference and the benefits of being able to manage start / end
of application and session make it worthwhile.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194194
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to