Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0c4368

Browse files
committed
Codeplex issue: 6 - Consider using GCLatencyMode.Batch in fsc
https://visualfsharp.codeplex.com/workitem/6I revisited this suggestion today: I tested it out and it gave me an approximately 7% increase in compilation speed. I will save the shelf set until we have shipped 3.1.2 (changeset 1323790)
1 parent3385e58 commitf0c4368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/fsharp/fsc.fs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@ let typecheckAndCompile(argv,bannerAlreadyPrinted,exiter:Exiter, errorLoggerProv
21242124
|> main4
21252125

21262126
letmainCompile(argv,bannerAlreadyPrinted,exiter:Exiter)=
2127+
System.Runtime.GCSettings.LatencyMode<- System.Runtime.GCLatencyMode.Batch
21272128
typecheckAndCompile(argv, bannerAlreadyPrinted, exiter, DefaultLoggerProvider())
21282129

21292130
typeCompilationOutput=

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp