Added sanity check result of perf_bgfg.cpp.