#NEWLINE# def _handle_statsdata( self , relpath , params ) : #NEWLINE# #INDENT# 'Show stats for pants runs in the statsdb.' #NEWLINE# statsdb = StatsDBFactory . global_instance ( ) . get_db ( ) #NEWLINE# statsdata = list ( statsdb . get_aggregated_stats_for_cmd_line ( 'cumulative_timings' , '%' ) ) #NEWLINE# self . _send_content ( json . dumps ( statsdata ) , 'application/json' )