O'Reilly logo

Special Edition Using Microsoft® Visual Basic® .NET by Jeff Spotts, Brian Siler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercise: Using Performance Counters

In the last section, we discussed a way to measure the execution time of program functions. However, when optimizing the program there may be other factors that determine your optimization steps. For example, it is also helpful to know which functions are executed most frequently. Suppose you have an application used for data entry. If it takes 10 seconds to initially load the application and sign on, but another 10 seconds every time you press the Save button—you definitely should place a higher priority on optimizing the code behind the Save button. Another factor that may impact application performance is the computer on which your program is running. Extra high memory usage or a network bottleneck can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required