Solved

Testing

Posted on 2001-06-21
6
274 Views
Last Modified: 2013-12-24
How can I test how long it takes for ColdFusion Server to parse my templates?
0
Comment
Question by:benny34
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 5

Accepted Solution

by:
Yog earned 50 total points
ID: 6215361
Go to coldfusion administrator - click on debugging - then add your ip address at the bottom so that you can see procesing times when you run the page in browser..
There are so many options like "Show processing time - shows the time, in milliseconds, to process the entire page. " - a checkbox for this etc. So enable debugging and look for whatever you need in the output

Cheers
0
 
LVL 5

Expert Comment

by:Yog
ID: 6215369
Also, there is a CFSETTING Tag , if you do
<CFSETTING SHOWDEBUGOUTPUT="No" >, this will override the administrator and you wont be able to see anything. So incase if this is available in the application.cfm or any other file you want to see make it.
<CFSETTING SHOWDEBUGOUTPUT="No">

Cheers
   
   
0
 
LVL 5

Expert Comment

by:Yog
ID: 6215393
After doing this restart server so these changes to work..
0
 
LVL 2

Assisted Solution

by:jamathon
jamathon earned 50 total points
ID: 6245892
You could use <cfset start=gettickcount()> at the begining of the template and <cfset end=gettickcount()> at the end of the template. The difference between these is the number of milliseconds the template took to execute.
This could then be stored in a dbase or mailed to you. This may increase the template time but the result above will show the time taken prior to storring the result.

Another alternative is in the administrator under logging you can set cf to log templates taking longer than a certain time to execute.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10659262
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Split points between Yog and jamathon

Please leave any comments here within the next four days.

mrichmon
EE Cleanup Volunteer
0

Featured Post

Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question