コード例 #1
0
                s_rows[name]['13rc4aoff'] = rows[row][stat]
            elif (row.rfind(' (1.3rc4_AAE_ON') > 0):
                s_rows[name]['13rc4aon'] = rows[row][stat]

    print "Name,1.2.1,1.3rc2,1.3rc4,1.3rc4 AAE"

    for s_row in sorted(s_rows.iterkeys()):
        print s_row + ',' + str(s_rows[s_row]['121']) + ',' + str(
            s_rows[s_row]['13rc2']) + ',' + str(
                s_rows[s_row]['13rc4aoff']) + ',' + str(
                    s_rows[s_row]['13rc4aon'])


results_base_dir = sys.argv[1]

bb_report = BashoBenchAggregator(results_base_dir + "/*/*/*/*latencies.csv",
                                 bb_filename, ' TS:')
bb_report.render()

print " "
print "Latency"
bb_latency_summary(bb_report.rows(), 'mean')

print " "
print "Ops/Sec"
bb_latency_summary(bb_report.rows(), 'mean_ops/sec')

print " "
print "MDC"

mdc_report = MdcAggregator(results_base_dir + "/*/*/*/mdc_results.csv",
                           mdc_filename, ' TS:')