Title: [PERIODIC cfcdev DIGEST POSTING]
Ken:
 
This question is really better asked on a different list (CF-Talk, for instance) as it is not on-topic here.

But, since this email is going to the list anyway, here are some thoughts on your question....
 
No matter what answers you come up with here I would generally advise that you not worry about this level of performance unless you need to squeeze every last ounce of performance from your application.  You will find the performance issues in CFSCRIPT vs. CFML and XSLT vs. CFML to be miniscule compared to database design, application architecture, page/content caching, and hardware/network tuning.
 
Even in CF5, CFSCRIPT performance improvements were minor, at best.  My understanding is that in CFMX those differences are even smaller.
 
Someone with more expertise will hopefully give you insight into the XSLT question, but either way it will depend a lot on what you are going to do via CFML.  In general, the XSLT will likely be faster, but the extent of the performance boost will probably be negligible for most operations.
 
Of course, some who are more purist about performance will no doubt disagree ;)
 
 
 
-----Original Message-----
From: Westin, Ken [mailto:[EMAIL PROTECTED]On Behalf Of Westin, Ken
Sent: Saturday, August 02, 2003 11:59 AM
To: [EMAIL PROTECTED]
Subject: Code Optimization Questions: cfscript vs cfml and xslt vs cfmx xml functions

 
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

<<attachment: winmail.dat>>

Reply via email to