Yeah, there is.  I created a CFC to handle a bunch of date processing
functions when spidering our intranet.  I have to run a format function on
every date I run across on our pages.  There's about 500 or so.  Creating
the object once and referencing the format function yields SIGNIFICANTLY
better results than the alternative.  If you just need to run the function a
couple of times, it probably doesn't matter, but when you have to run it
several hundred, the time difference can be easily measured in seconds.

-----Original Message-----
From: Kevin Marino [mailto:[EMAIL PROTECTED]
Sent: Friday, February 20, 2004 2:36 PM
To: CF-Talk
Subject: CFC invocation performance

Hi,

Was wondering if there is a noticeable performance difference between the
two following methods;

1.  Create an Object referencing CFC then calling functions (e.g.
myObject.myfunction() ) on the page.
2.  using cfinvoke when needed to call function.

Hope I phrased that right.

Thanks

-Kevin Marino
----------------------
Webmaster - HealthObjects
[EMAIL PROTECTED]
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to