Skip to content

Commit 8cfc4e7

Browse files
committed
add diag
1 parent e6d801a commit 8cfc4e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/src/parallel.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ pub fn analyze_files_parallel<'py>(
704704
// Phase 1: Parallel file analysis (GIL released)
705705
let (analysis_results, directories): (HashMap<String, FileAnalysisResult>, HashSet<String>) =
706706
py.detach(|| {
707+
// Diagnostic: show thread count
708+
eprintln!("Rayon using {} threads for {} files", rayon::current_num_threads(), paths.len());
709+
707710
// Collect all directory paths first
708711
let dirs = collect_all_directories(&paths);
709712

0 commit comments

Comments
 (0)