ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash



 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

QUICK TIP:
The Mysterious Extra Bytes
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates


Quick Tips


Start Optimizing Where It Matters Most

When you start looking for ways to make your scripts run faster, it's often natural to look for the worst code and start fixing things from there. However, this isn't usually the way to get the most improvement bang for your coding buck.

Instead of looking for the ugliest code, take a look at your site and figure out what gets run the most. Your home page and template files that get included over and over are the perfect places to start. Start making your changes here where they can really pay off. Getting a script that runs once a day to run twice as fast is certainly nice, but shaving a couple extra CPU cycles off code which runs on every page will yield far more noticeable results.

By the same rational, when attempting to streamline any given set of code, pay particular attention to code inside of loops. Similarly to above, fixing a line of code that runs once will certainly help, but finding a speed-bump inside a loop can pay off hundreds of times over with each call to the page.


Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers