@@ -666,7 +666,9 @@ else if(analyze_on_all_tables) {
666
666
Results r = runWorkload (benchList , intervalMonitor , workCount );
667
667
writeOutputs (r , activeTXTypes , argsLine , xmlConfig ,
668
668
executeRules == null ? null : workloads .get (workCount - 1 ).getString ("workload" ),
669
- executeRules == null ? null : workloads .get (workCount - 1 ).getString ("customTags" , null ));
669
+ executeRules == null ? null : workloads .get (workCount - 1 ).getString ("customTags" , null ),
670
+ executeRules != null && workloads .get (workCount - 1 ).getBoolean ("skipReport" , false )
671
+ );
670
672
writeHistograms (r );
671
673
672
674
if (argsLine .hasOption ("json-histograms" )) {
@@ -696,12 +698,13 @@ else if (isBooleanOptionSet(argsLine, "execute")) {
696
698
// if block currently only valid for bulkload experiments
697
699
if (xmlConfig .containsKey ("microbenchmark/properties/workload" )) {
698
700
writeOutputs (r , activeTXTypes , argsLine , xmlConfig ,
699
- xmlConfig .getString ("microbenchmark/properties/workload" ), null );
701
+ xmlConfig .getString ("microbenchmark/properties/workload" ), null , false );
700
702
}
701
703
else {
702
704
writeOutputs (r , activeTXTypes , argsLine , xmlConfig ,
703
705
executeRules == null ? null : workloads .get (workCount - 1 ).getString ("workload" ),
704
- executeRules == null ? null : workloads .get (workCount - 1 ).getString ("customTags" , null ));
706
+ executeRules == null ? null : workloads .get (workCount - 1 ).getString ("customTags" , null ),
707
+ executeRules != null && workloads .get (workCount - 1 ).getBoolean ("skipReport" , false ));
705
708
}
706
709
writeHistograms (r );
707
710
@@ -833,7 +836,7 @@ private static String writeJSONHistograms(Results r) {
833
836
*/
834
837
private static void writeOutputs (Results r , List <TransactionType > activeTXTypes , CommandLine argsLine ,
835
838
XMLConfiguration xmlConfig , String workload_name ,
836
- String customTags ) throws Exception {
839
+ String customTags , Boolean skipReport ) throws Exception {
837
840
838
841
// If an output directory is used, store the information
839
842
String outputDirectory = "results" ;
@@ -905,7 +908,7 @@ private static void writeOutputs(Results r, List<TransactionType> activeTXTypes,
905
908
}
906
909
if (workload_name == null || workload_name .isEmpty ())
907
910
workload_name = baseFileName ;
908
- workloadToSummaryMap .put (workload_name , rw .writeDetailedSummary (ps , customTags ));
911
+ workloadToSummaryMap .put (workload_name , rw .writeDetailedSummary (ps , customTags , skipReport ));
909
912
910
913
try {
911
914
FileWriter writer = new FileWriter (filePathForOutputJson );
0 commit comments