Ejemplo n.º 1
0
def generateBenchmarkReport(logFile,envLog,filterList,tempDir,outFile="",verbose=False):
    """
    ignores failed commands with exitcode !=0
    """
    
    ob=bm.Benchmark(logFile,envLog,out_dir=tempDir)
    #generate benchmarks
    ob.plot_time_perobject()
    ob.plot_time_perprogram()
    
    pu.print_green("Benchmark report saved to:"+tempDir+"/benchmark_reports")
Ejemplo n.º 2
0
def test1():
    ob=bm.Benchmark(logfile,envlogfile,out_dir=outdir)
    #generate benchmarks
    ob.plot_time_perobject()
    ob.plot_time_perprogram()