> The difference between cml and cfscript is neglible. <cfscript> is much like any other popular programming language(Java,C# etc) for loops, while loops etc and scales a little more better. Personally.. i prefer <cfscript> to <CF_THIS> <CF_THAT>
> We wrote a cfx tag to use the MS XML Parser when doing xslt, so > we find XSLT > about 3-5 times faster than XmlTransform() I havent used MS XML Parser but arent you instantiating the MS XML parser Via COM? Isnt that an overhead... I am curious how it works with CFMX. Can you post some code and performance results? Thanks, Joe Eugene > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Rod Buchan > Sent: Sunday, August 03, 2003 7:47 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Code Optimization Questions: cfscript vs cfml and > xslt vs cfmx xml functions > > > > Here's our experience. > > The difference between cml and cfscript is neglible. > > We wrote a cfx tag to use the MS XML Parser when doing xslt, so > we find XSLT > about 3-5 times faster than XmlTransform(). Also, it is much faster and > scales much better than CFMX functions when dealing with XML. Although > writing XSLT is painful so we only use it for front-end. > > There's a famous quote about premature optimisation being the root of all > evil, but that really refers to individual algorithms. For web apps, > performance needs to be designed into the app from the very start. > > > On Saturday, August 2, 2003, at 02:58 PM, Westin, Ken wrote: > > > > > > > I have two questions. > > > > The first is in regards to the use of <cfscript> vs CFML. I can see > > where it is sometimes more convenient to use <cfscript> however I was > > wondering if there is a performance increase in CFMX? Since the pages > > are compiled to Java classes does this matter anymore? > > > > My second question is in regards to performance and XML. When > > processing XML documents is it better to use XSLT or the built in CFMX > > XML functions? Is there a difference in performance? Sometimes it is > > just faster to use the CFMX functions, but was not sure if there was > > a performance hit vs using XSLT. > > > > Thanks > > > > <winmail.dat> > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
