There are various nice tools for program profiling when it comes to CPU usage like gprof or oprofile. Those tools will tell you exactly which functions in your code consume most CPU time, where they are called, how often etc. But what if your program is slower than it should be because it waits for I/O disk operations? How can you check if the I/O is the bottleneck and what are the slowest operations?
↧
Profiling Input/Output performance
↧