> What would be your threshold number of cfswitch's that you > would use before deciding to switch to Java (or something > else)? Obviously you appear to have a limit in mind. I'll > run the test that number of times.
Running iterative tests tells you nothing about application performance. I can't tell you how many times I've seen an example of an iterative test used to justify a coding decision, only to find out that the decision provided no benefit (or actually degraded performance) under actual load. I can, however, tell you that it's very entertaining to get paid to tell someone that. > I'm not advocating anyone code something 1 million times but > most performance problems show themselves under load. Yes, and the way to identify those problems is through load testing, not through building scripts that do things you don't actually do in your codebase. Tests which involves iteration instead of concurrent requests don't tell you useful information about how applications actually work, because they exaggerate often-unimportant implementation details and fail to capture the details about your actual application. > I feel that any information about a language and what it is > faster or slower at is noteworthy information. I also feel > any part of a language which is shown to be around 100 times > slower than alternative code is very significant. However, this isn't information about a language. CFML is a language. The same CFML commands work one way in CF 7 and another way in CF 8, as you've discovered. What if they work yet another way in CF 9? What if I'm porting my application from CF 5? Unless you never plan to change versions or platforms, this tells you nothing useful about the language itself. If I told you I was writing an application in CFML using CFSWITCH with string constants, and didn't provide any further details, what would you advise me to do in this particular case? How about if I said I was using CF 7, but would soon upgrade to CF 8? Or BlueDragon? Oh, and if you're going to quote someone, I'll take Knuth over GI Joe when it comes to performance optimization. When it comes to compilers, Knuth kicks GI Joe's ass. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293665 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

