add profiling to config