Adding perf query