You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Compiler/Driver/ParseAndCheckInputs.fs
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1189,7 +1189,7 @@ let AddCheckResultsToTcState
1189
1189
singles <- singles +1
1190
1190
// TODO Thread-safety
1191
1191
total <- total + sw.Elapsed
1192
-
printfn $"[{Threading.Thread.CurrentThread.ManagedThreadId}] [{singles}] single add took {sw.ElapsedMilliseconds}ms, total so far: {total.TotalMilliseconds}ms"
1192
+
// printfn $"[{Threading.Thread.CurrentThread.ManagedThreadId}] [{singles}] single add took {sw.ElapsedMilliseconds}ms, total so far: {total.TotalMilliseconds}ms"
1193
1193
1194
1194
ccuSigForFile, tcState
1195
1195
@@ -1465,9 +1465,9 @@ let CheckOneInputAux'
1465
1465
printfn $"[{Thread.CurrentThread.ManagedThreadId}] Saving fsiBackedInfos for {file.FileName}"
1466
1466
fsiBackedInfos[file.FileName]<- sigFileType
1467
1467
1468
-
printfn $"Finished Processing Sig {file.FileName}"
1468
+
// printfn $"Finished Processing Sig {file.FileName}"
Copy file name to clipboardExpand all lines: tests/ParallelTypeCheckingTests/Code/Parallel.fs
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ let processInParallelUsingMailbox
70
70
toSchedule |> Array.iter (fun x -> agent.Post(Start(processItem x)))
71
71
}
72
72
firstItems |> Array.iter (fun x -> agent.Post(Start(processItem x)))
73
-
73
+
74
74
// TODO Could replace with MailboxProcessor+Tasks/Asyncs instead of BlockingCollection + Threads
75
75
// See http://www.fssnip.net/nX/title/Limit-degree-of-parallelism-using-an-agent
76
76
/// Process items in parallel, allow more work to be scheduled as a result of finished work,
0 commit comments