manage perf config in one class + allow config overriding