Followup, I don't find it odd that performance has degraded. Remember
that application.cfc get's called on each request made, and on each
request it has to evaluate both functions.

So where it used to call 

Application.cfm -> index.cfm

It does, on each request

Application.cfm -> onRequestStart -> onRequest -> index.cfm




Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380

------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 
------------------------------------------------------------------------
------------------------------------------------------------------------
-----

-----Original Message-----
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: donderdag 10 februari 2005 15:13
To: CF-Talk
Subject: RE: Using Application.cfc has decreased performance

I sometimes experienced CFC's with practically the exact amount of code,
being slower than cfmodule calls (which should be slower). It is hard to
say what is causing such behavior, and often depends on the type of
constructions. :)

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380

------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep. 
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl 
------------------------------------------------------------------------
------------------------------------------------------------------------
-----

-----Original Message-----
From: Stavros Tekes [mailto:[EMAIL PROTECTED] 
Sent: donderdag 10 februari 2005 13:29
To: CF-Talk
Subject: Using Application.cfc has decreased performance

Hi All,

I have replaced Application.cfm in an old application of mine with
Application.cfc.

The events set there are OnRequestStart (checking to see if user has
logged in and initializes variables in the request scope) and onRequest
(that cfincludes a page according to a URL parameter).

I noticed a performance delay on the new version of the application.
some pages need almost twice the time to load than they did before.

Has anyone observed anything similar?

Thanks in advance,

Stavros





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:194051
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to