Small perf-based analysis of various C and C++ equivalent programs