File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 44TODO : Convert .gitignore to radon ignore patterns to make the build more efficient.
55
66"""
7+ from future .backports .datetime import datetime
78
89import os
910import pathlib
@@ -86,11 +87,16 @@ def run_operators_parallel(
8687
8788 # Run all operators in parallel on all files using Rust/rayon
8889 # This also computes directory-level aggregates
90+ time_start = datetime .now ()
8991 parallel_results = analyze_files_parallel (file_paths , operator_names )
92+ time_end = datetime .now ()
93+ logger .debug ("Completed parallel analysis in %s seconds" , (time_end - time_start ).strftime ("%s.%f" ))
9094
9195 # Transform results into the expected format per operator
9296 results : dict [str , dict [str , Any ]] = {name : {} for name in operator_names }
9397
98+ logger .debug ("Found %s results from parallel analysis" , len (parallel_results ))
99+
94100 for file_path , file_data in parallel_results .items ():
95101 # Convert absolute paths to relative, but leave directory paths as-is
96102 if os .path .isabs (file_path ):
You can’t perform that action at this time.
0 commit comments