PERF: move avg time calculation to daily