JAMon (Java Application Monitor)
| Performance problems occur in a small portion of code | ||
| 4% of application code accounts for more than 50% of the execution time. - Donald Knuth | ||
| 20% of application code accounts for 80% of the execution time - Barry Boehm | ||
| Developers, using guesswork, are notoriously bad at deciding what code to optimize | ||
| Measuring performance statistics helps developers find that 4% of code to optimize | ||
| In Web applications it is particularly important to monitor code, due to | ||
| An unpredictable load and number of users | ||
| Many possible bottlenecks: Is the performance problem in servlets, JSPs, EJBs, the web server, the database, the network…? | ||
| By building monitoring into an application from the start, developers can spend time solving performance problems not diagnosing them! | ||