Justin, there's a few other factors to consider.

re: CFC's: 

are you calling more than one function on each page? ie: you instantiate the CFC at 
the top of the page and then use it often with many method calls? remember, invoking a 
CFC is expensive (processor-wise), although, once done all methods/functions are 
blisteringly fast

are any of these CFC's going to end up in shared scopes (session, application, server) 
if so, the instantiation is already done so it's very fast access to the cfc's methods 
(much faster than reading a custom tag and interperating each line of code for the UDF)

but for a bit more of an answer, read up on this thread (perhaps redo mike's 
experiments?)

http://www.mail-archive.com/[EMAIL PROTECTED]/msg06014.html

where you'll find answers to lots of related questions


cheers
barry.b

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Raymond
Sent: Tuesday, 7 September 2004 10:40 AM
To: CFAussie Mailing List
Subject: [cfaussie] CFC Vs Custom tag performance

Hi all,

Just wondering if anyone knows whether there is any performance advantage in invoking 
a function from a CFC or calling upon a custom tag? I presently am using both but 
would like start to standardise things and I am ready to go with CFC's but would like 
to have any supportive evidence that anyone has.

TIA

Justin Raymond

________________________________________
Note:
This message is for the named person's use only.� It may contain confidential, 
proprietary or legally privileged information.� No confidentiality or privilege is 
waived or lost by any mistransmission.� If you receive this message in error,�please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it and notify the sender.� You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. ABBOTSLEIGH and any of its subsidiaries each reserve the right to monitor 
all e-mail communications through its networks.
Any views expressed in this message are those of the individual sender, except where 
the message states otherwise and the sender is authorized to state them to be the 
views of any such entity.
________________________________________


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to