You could write your own debugging template (or more likely, just
modify the existing ones - they're not encrypted for this reason) that
will tell you.  Not sure if you can get per-file stats like you do for
execution times, but you might poke around.  If nothing else, you can
pull the list of queries at the top of your template, record the
recordCount, do the same at the end of your template, and subtract the
two numbers to figure out how many queries ran.  Check the debugging
templates as examples of the syntax to use.

Just keep in mind that a lot of the features the debugging templates
use aren't officially supported CF features, so they might not work
across versions.  However, each version will have a way to do what you
want, in general, because the debugging output doesn't change between
versions much.

cheers,
barneyb

On 8/2/05, Michel Deloux <[EMAIL PROTECTED]> wrote:
> Hi all
> 
> it's possible to know the number of queries used in a template,
> including <cfinclude ...>? May be when you're using CF debug option.
> 
> Cheers
> 
> MD
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to