Add db perf feedback and a simple performance test