On Tue, May 27, 2008 at 12:42 PM, Jacob <[EMAIL PROTECTED]> wrote:
> What if you have a template with just the follow:
>
> <cfset var = "Hi">
> <cfoutput>#var#</cfoutput>
>
> Run it on both the development box and the production box.  Do you get the
> same thing?  The template running slower on the production box?

Unfortunately, that code won't really show a significant difference.
The line in question calls a CFC method (the CFC is in the application
scope, so it's not instantiating it again). That method calls another
method inside that same CFC (which calls the cached query).  The only
real slow parts of the code are looping over an array (but not really
a large one) and, unfortunately, doing an evaluate() on a CF statement
from the cached query. But, that evaluate() would be slow on my box,
too.

-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306098
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to