Add support for periodic dumping of performance data.