On Monday, Sep 30, 2002, at 20:09 US/Pacific, Rob Brooks-Bilson wrote:
> I did some performance testing recently too see if it was faster to
> CFINCLUDE a UDF library containing 50 UDFs, or instantiate a CFC with 
> the
> same 50 CFCs as methods.  The results were that the CFINCLUDE was
> substantially faster on initial page load and all subsequent page 
> loads.

That's good to know - it fits in with my expectations and is exactly 
why, if you must do this kind of stuff, I would recommend creating just 
a single CFC instance and saving it in server scope (since a 'UDF 
library CFC' will have no state and probably shouldn't be generating 
any output!).

An Architect's View -- http://www.corfield.org/blog/

Macromedia DevCon 2002, October 27-30, Orlando, Florida
Architecting a New Internet Experience
Register today at http://www.macromedia.com/go/devcon2002

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to