#NEWLINE# def report( self , t ) : #NEWLINE# #INDENT# self . print_header ( '------------------------------------------------------' ) #NEWLINE# self . print_header ( '    _______             __   _____                    ' ) #NEWLINE# self . print_header ( '   / ____(_)___  ____ _/ /  / ___/_________  ________ ' ) #NEWLINE# self . print_header ( '  / /_  / / __ \\/ __ `/ /   \\__ \\/ ___/ __ \\/ ___/ _ \\' ) #NEWLINE# self . print_header ( ' / __/ / / / / / /_/ / /   ___/ / /__/ /_/ / /  /  __/' ) #NEWLINE# self . print_header ( '/_/   /_/_/ /_/\\__,_/_/   /____/\\___/\\____/_/   \\___/ ' ) #NEWLINE# self . print_header ( '------------------------------------------------------' ) #NEWLINE# selected_setups = self . _config . opts ( 'benchmarks' , 'tracksetups.selected' ) #NEWLINE# invocation = self . _config . opts ( 'meta' , 'time.start' ) #NEWLINE# for track_setup in t . track_setups : #NEWLINE# #INDENT# if ( track_setup . name in selected_setups ) : #NEWLINE# #INDENT# if ( len ( selected_setups ) > 1 ) : #NEWLINE# #INDENT# self . print_header ( ( '*** Track setup %s ***\n' % track_setup . name ) ) #NEWLINE# #UNINDENT# store = metrics . EsMetricsStore ( self . _config ) #NEWLINE# store . open ( invocation , t . name , track_setup . name ) #NEWLINE# if ( track . BenchmarkPhase . index in track_setup . benchmark ) : #NEWLINE# #INDENT# self . report_index_throughput ( store ) #NEWLINE# print ( '' ) #NEWLINE# self . report_total_times ( store ) #NEWLINE# self . report_merge_part_times ( store ) #NEWLINE# #UNINDENT# if ( track . BenchmarkPhase . search in track_setup . benchmark ) : #NEWLINE# #INDENT# self . report_search_latency ( store , t , track_setup . benchmark [ track . BenchmarkPhase . search ] . iteration_count ) #NEWLINE# #UNINDENT# self . print_header ( 'System Metrics' ) #NEWLINE# self . report_cpu_usage ( store ) #NEWLINE# self . report_gc_times ( store ) #NEWLINE# print ( '' ) #NEWLINE# self . print_header ( 'Index Metrics' ) #NEWLINE# self . report_disk_usage ( store ) #NEWLINE# self . report_segment_memory ( store ) #NEWLINE# self . report_segment_counts ( store ) #NEWLINE# print ( '' ) #NEWLINE# if ( track . BenchmarkPhase . stats in track_setup . benchmark ) : #NEWLINE# #INDENT# self . report_stats_times ( store , track_setup . benchmark [ track . BenchmarkPhase . stats ] . iteration_count )