persist perf data to mongo