added some perf adjustment framework