> Which is why this sort of optimization concern is so pointless! :)

Not so fast there cowboy.  :)  The 200 mili and 400 mili numbers were 1
million loops of a 4-faceted cfif and cfswitch structure respectively
comparing string values on CF8.

That same test on CF7.0.2 yields 1 second for the cfif and 115 seconds
(nearly two minutes!) for cfswitch.  Good luck trying to blame two
minutes of page load time on network delays.  :)

Do many people use 1 million cfif's or cfswitch's on a page?  Probably
not. 
Truth is though; there is at least one documented case where a large
number of cfswitch's on CF7 was literally bringing down someone's server
until they converted them to cfif's.  

The problem may not affect everyone, but it's worth noting as opposed to
writing it off IMO.

Also, I'm glad you mentioned the CF8 debugger lets you break on
exceptions.  I'll have to play with that!

~Brad

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293657
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to