Current Page: NeXtMidas Training NetBeans - Part 3 (Profiler) About Profilers WARNING!!!
- - | WARNING!!! The goal in using a profiler is to best direct your efforts in improving program performance. Alway keep Amdahl's Law in mind when optimizing.
    Amdahl's Law (Simple Version): If N% of the program's time is spent in method X, the maximum performance improvement obtainable from optimizing method X is N%.
Don't Make This Mistake:
Many people ignore Amdahl's Law and do one of the following: They optimize things they know how to optimize, even if they are rarely used. They optimize things they know are called frequently, even if they don't drive the program's performance. While optimization is always a good idea, optimizing the wrong things will have a negligible effect on the program's performance.