I've recently begun updating one of our web apps- adding some new
features, improving the coding style, and taking advantage of some of
the new CF7 features.

One form was laid out in a nested-table layout, with HTML and CFM
controls mixed in.  I rewrote it using a CF7 XML format with cfformgroup
tags, and execution time went through the roof.  I rewrote the queries
on the page to use cached results, and managed to get execution time
down to about 11000 ms, on average, according to the debug information.

I changed the format back to HTML, and execution time sank to about 250
ms.

I chopped the form down to a very bare-bones layout, but the execution
time increace was roughly the same.

Now, there's nothing requiring me to use an XML format here, so I'll
likely switch to HTML and replace the table layout with DIV's.  The
Label attribute of cfinput and <cfformgroup> are convieniences, to be
sure, but not requirements.  I'm just curious to see if anyone else has
seen this.  Is this normal, or is there likely a misconfiguration on my
server?  I'd expect a performance hit using XML format versus HTML, but
the scale I'm seeing seems a bit excessive.


Matt Osbun
Web Developer
Health Systems, International


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:213857
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

Reply via email to