Added sanity check result of perf_bgfg.cpp.
Merge pull request #66 from melody-rain:2.4_perf_bgfg_cpp