[Pkg-cli-apps-commits] [fsharp] 40/60: Codeplex issue: 6 - Consider using GCLatencyMode.Batch in fsc https://visualfsharp.codeplex.com/workitem/6
Christopher Halse Rogers
raof-guest at moszumanska.debian.org
Sun Sep 14 08:13:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
raof-guest pushed a commit to branch master
in repository fsharp.
commit f0c4368db1e0877a3bafedd46404897d439dc859
Author: KevinRansom <kevinr at microsoft.com>
Date: Mon Aug 25 13:47:18 2014 -0700
Codeplex issue: 6 - Consider using GCLatencyMode.Batch in fsc
https://visualfsharp.codeplex.com/workitem/6
I 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)
---
src/fsharp/fsc.fs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/fsharp/fsc.fs b/src/fsharp/fsc.fs
index ff6969f..3837bc3 100644
--- a/src/fsharp/fsc.fs
+++ b/src/fsharp/fsc.fs
@@ -2124,6 +2124,7 @@ let typecheckAndCompile(argv,bannerAlreadyPrinted,exiter:Exiter, errorLoggerProv
|> main4
let mainCompile (argv,bannerAlreadyPrinted,exiter:Exiter) =
+ System.Runtime.GCSettings.LatencyMode <- System.Runtime.GCLatencyMode.Batch
typecheckAndCompile(argv, bannerAlreadyPrinted, exiter, DefaultLoggerProvider())
type CompilationOutput =
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/fsharp.git
More information about the Pkg-cli-apps-commits
mailing list