File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
redis_benchmarks_specification/__self_contained_coordinator__ Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -735,6 +735,30 @@ def process_self_contained_coordinator_stream(
735
735
)
736
736
)
737
737
738
+ # Delete all the perf artifacts, now that they are uploaded to S3.
739
+ # The .script and .script.mainthread files are not part of the artifacts_matrix and thus have to be deleted separately
740
+ line = profilers_artifacts_matrix [0 ]
741
+ logging .info (
742
+ "Deleting perf file {}" .format (
743
+ line [3 ].split ("." )[0 ]
744
+ + ".out.script.mainthread"
745
+ )
746
+ )
747
+ os .remove (
748
+ line [3 ].split ("." )[0 ] + ".out.script.mainthread"
749
+ )
750
+ logging .info (
751
+ "Deleteing perf file {}" .format (
752
+ line [3 ].split ("." )[0 ] + ".out.script"
753
+ )
754
+ )
755
+ os .remove (line [3 ].split ("." )[0 ] + ".out.script" )
756
+ for line in profilers_artifacts_matrix :
757
+ logging .info (
758
+ "Deleting perf file {}" .format (line [3 ])
759
+ )
760
+ os .remove (line [3 ])
761
+
738
762
datapoint_time_ms = start_time_ms
739
763
if (
740
764
use_git_timestamp is True
You can’t perform that action at this time.
0 commit comments