you have two calls to function urlencodedformat: #urlencodedformat(main_jpeg)# #urlencodedformat(tempPopTitle)#
could that have something to do with it? /t >-----Original Message----- >From: Jacob [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 28, 2005 5:46 PM >To: CF-Talk >Subject: RE: CFMX interrupting javascript - MORE > >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_Ima >ge.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/Sho >w_Movies_Imag >e.cfm?Image=#urlencodedformat(main_jpeg)#&type=DVD&title=#urlen >codedformat(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 > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204932 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

