Dan, The reason for the decrease in performance is when CF must instantiate the CFC each time, I.E. when using cfinvoke or createobject. The solution is to cache the CFC by storing it in a persistant scope such as application scope, so it only needs to be instantiated once. One solution is to use an object factory like this http://www.nictunney.com/index.cfm?mode=entry&entry=6DACBE6F-65B8-F252-76EC1 06E89049009
- Russ Michaels -----Original Message----- From: Dan Singerman [mailto:[EMAIL PROTECTED] Sent: 28 December 2006 13:47 To: CF-Talk Subject: CFC vs Customtag performance. I was lead to believe that CFC performance (apart from instantiation) should beat custom tag performance, partly due to posts like this: http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_cus tom_tag_vs_cfc_for_output.cfm However my own experiments tell me otherwise. See: http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/ What's going on there, and who's right? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265192 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

