This looped 50 times takes on average 1.2 to 1.4 seconds:
<cffile action="append" file="#trim(complete_filename)#" addnewline="No" output="<a href=""http://XXXXXX/DVD/#trim(URL)#""><font color=""Navy"" style=""font-size: 15px;"">#trim(tempTitle)#</font></A> <font color=""Navy"" style=""font-size: 15px;"">DVD</font> <a href=""javascript:popupBoxArtDVD('http://XXXXXX/Show_Movies_Image.cfm?Image= #urlencodedformat(main_jpeg)#&type=DVD&title=#urlencodedformat(tempPopTitle) #','236','335')"" onmouseover=""window.status='See Box Art'; return true "" onmouseout=""window.status=''""><img src=""http://XXXXXX/gif/excal2/Files_Icon.gif"" alt=""Box Art"" hspace=""4"" vspace=""0"" border=""0"" align=""bottom""></a>"> This looped 50 time takes .2 to .3 seconds: <cffile action="append" file="#trim(complete_filename)#" addnewline="No" output="<a href=""http://XXXXXX/DVD/#trim(URL)#""><font color=""Navy"" style=""font-size: 15px;"">#trim(tempTitle)#</font></A> <font color=""Navy"" style=""font-size: 15px;"">DVD</font><img src=""http://XXXXXX/gif/excal2/Files_Icon.gif"" alt=""Box Art"" hspace=""4"" vspace=""0"" border=""0"" align=""bottom""></a>"> This was removed from the second test. <a href=""javascript:popupBoxArtDVD('http://ExcaliburFilms.com/Show_Movies_Imag e.cfm?Image=#urlencodedformat(main_jpeg)#&type=DVD&title=#urlencodedformat(t empPopTitle)#','236','335')"" onmouseover=""window.status='See Box Art'; return true "" onmouseout=""window.status=''""> Jacob -----Original Message----- From: Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 8:40 AM To: CF-Talk Subject: CFMX interrupting javascript I have a script that writes html files every so often. Under CF 5, the script took about 4 to 5 seconds to create the .htm file. When I tested the same script under CF MX 6.1, it takes over 14 seconds. Same thing with CF MX 7. I went through the code, piece by piece and found out that if I have " javascript:" in the output for the cffile, it is slow (14 seconds). If I remove javascript:", the script runs in about 5 seconds. Is CFXM trying to interrupt javascript when it is writing a file? Has anybody had this type of problem? TIA Jacob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:204925 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54