detect perf version