Linux performance testing with perf, gprof and Valgrind
There are a lot of different Linux tools that can be used to profile and instrument executables. Some of them are non-intrusive and do not require any modification of our source code or build process, even sometimes do not introduce any runtime overhead. Others can increase the time needed to execute code up to few…