add option for old/new version perf support