Skip to content

Commit 203aee3

Browse files
committed
Disable some logs.
1 parent a7cb8c9 commit 203aee3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/ParallelTypeCheckingTests/Code/Parallel.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ let processInParallel
2424
let mutable processedCount = 0
2525

2626
let processItem item =
27-
printfn $"Processing {_itemToString item}"
27+
// printfn $"Processing {_itemToString item}"
2828
let toSchedule = work item
2929

3030
let processedCount =
3131
lock processedCountLock (fun () ->
3232
processedCount <- processedCount + 1
3333
processedCount)
3434

35-
let toScheduleString =
36-
toSchedule |> Array.map _itemToString |> (fun names -> String.Join(", ", names))
35+
// let toScheduleString =
36+
// toSchedule |> Array.map _itemToString |> (fun names -> String.Join(", ", names))
3737

38-
printfn $"Scheduling {toSchedule.Length} items: {toScheduleString}"
38+
// printfn $"Scheduling {toSchedule.Length} items: {toScheduleString}"
3939
toSchedule |> Array.iter bc.Add
4040
processedCount
4141

tests/ParallelTypeCheckingTests/Code/ParallelTypeChecking.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ let CheckMultipleInputsInParallel
8888
let checkForErrors2 () = priorErrors || (logger.ErrorCount > 0)
8989

9090
let tcSink = TcResultsSink.NoSink
91-
let c = cnt
91+
// let c = cnt
9292
cnt <- cnt + 1
9393

94-
printfn $"#{c} [thread {Thread.CurrentThread.ManagedThreadId}] Type-checking {input.FileName}"
94+
// printfn $"#{c} [thread {Thread.CurrentThread.ManagedThreadId}] Type-checking {input.FileName}"
9595

9696
let! f =
9797
CheckOneInput'(

0 commit comments

Comments
 (0)