PHOENIX-1496 Further reduce work in StatsCollector.