def _handle_statsdata(self, relpath, params):
    statsdb = StatsDBFactory.global_instance().get_db()
    statsdata = list(statsdb.get_aggregated_stats_for_cmd_line('cumulative_timings', '%'))
    self._send_content(json.dumps(statsdata), 'application/json')
Show stats for pants runs in the statsdb.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/reporting/reporting_server.py/PantsHandler._handle_statsdata