Add perf monitoring