This is most interesting. I would like to run a test of some sort, but I'm not sure how I would measure it.
10,000 files is a lot for a file system, but would be small beans in a database table. I wonder if there is any kind of indexing CF could do to reduce the "table scan" affect of looking for the right file. I've never analyzed class file before, but I would assume the name of each file is unique given the path and filename of the unparsed CFML file it represents. You would think a request for a specific file name would only take a couple milliseconds for the OS to examine the file allocation tables and determine its existence. It would be like selecting a record from a huge table based on the primary key. But then again, I can't really claim to understand how this all works, this is just the way that would seem to make sense to me. ~Brad -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 12:38 PM To: CF-Talk Subject: RE: Errant Web-inf directories > Any chance you could qualify your claims that re-compiling is > faster than reading from the cached .class (even if there are > 20k files in the folder). > > Even with a small cfm/function i'd be VERY suprised if this > is the case. Perhaps you could enlighten me? Other than telling you to try it for yourself and see, I can only say that this has been my experience. Obviously, the speed of the disk and other hardware, the specific filesystem being used, etc, will all affect this. In my experience, any CF server with over 10k of compiled classes is almost certainly going to be faster if you disable that option. I've seen some with many, many more files than that where the difference was obviously noticeable without any formal testing. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4