#NEWLINE# def report_index_throughput( self , store ) : #NEWLINE# #INDENT# self . print_header ( 'Indexing Results (Throughput):' ) #NEWLINE# throughput_pct = store . get_percentiles ( 'indexing_throughput' , percentiles = [ SummaryReporter . MEDIAN ] ) #NEWLINE# throughput_stats = store . get_stats ( 'indexing_throughput' ) #NEWLINE# if ( throughput_pct and throughput_stats ) : #NEWLINE# #INDENT# print ( ( '  median %d docs/s (min: %d, max: %d)' % ( round ( throughput_pct [ SummaryReporter . MEDIAN ] ) , throughput_stats [ 'min' ] , throughput_stats [ 'max' ] ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( '  Could not determine indexing throughput' )