
25
2
Proling MATLAB
®
Performance
Proling is the act of monitoring an application’s run in order to understand how much
time is spent by the program and its internal components.
46
Proling an application is
extremely important when we wish to diagnose and improve a program in terms of per-
formance. It is worth repeating the well-known adage that whatever cannot be monitored
and measured, cannot really be improved.
Moreover, before proling an application, we cannot be certain where its performance
bottlenecks occur. Without proling data, we might well spend time and energy optimiz-
ing code that has no signicant effect on program performance. ...