Building SlideSix Part 2.5 - Increase Your Applications Performance

Well it would be part 3, but part 3 is already written and scheduled for later so I'm going with 2.5. Really just a super quick tip for some very impressive performance gains. I don't have concrete evidence other then my 'Wow, that's really a big difference' reaction from taking this one simple step. What is that step? Simply log into your ColdFusion Administrator, go to Settings and check 'Disable CFC Type Checking' (see disclaimer below).

disable_type_checking

When this setting is applied ColdFusion basically assumes a type of 'any' on your arguments (and, I believe, your returnTypes) in your CFC methods.

Disclaimer: There are many blog posts and articles that discuss this tactic (which is known as 'duck typing'). Some say that it is not about performance gains, but there is no question to me that my applications simply run more swift when ColdFusion does not have to validate the type. Before you do this, read up on what some people who are much smarter then me have to say about the topic.



Comments

Calendar

Sun Mon Tue Wed Thu Fri Sat
      1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30       

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex funny stuff misc model-glue off topic personal project learn slidesix sql

Recent Comments

Ajax Form Submission Revisited And Advice Needed
Hammo777 said: To solve your original problem: document.formname.onsubmit(); just call the onsubmit method yourse... [More]

Editing A Query In A SQL Server DTS Package
JD said: Thanks for your post. Never unlike Microsoft to hide stuff in the hardest part time find. [More]

Mashing Spry Effects With CF8 Ajax Goodness
Mark Pitts said: I have had moderate success implementing Spry Accordian. Sadly the part that does is not working wil... [More]

Chinese Birth Calendar Accuracy Test
Toni Lehman said: This calendar was accurate for both my daughters and 4 grandchildren. I tried it for 11 of my other ... [More]

Virtual Memory - Am I The Last To Know?
Larry Miller said: The authors friend was right. Windows virtual memory system was designed by experts and they fully u... [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com