Solved

Testing

Posted on 2001-06-21
6
263 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
  • 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

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now