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).
