Added perf precomp cpp

Added perf_percomp.cpp.