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

Commit7de2753

Browse files
authored
Fixed CompilerServiceBenchmarks (dotnet#6022)
1 parent556b64c commit7de2753

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

‎benchmarks/CompilerServiceBenchmarks/CompilerServiceBenchmarks.fsproj‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
<ProjectSdk="Microsoft.NET.Sdk">
22

3+
<PropertyGroup>
4+
<FSharpSourcesRoot>$(MSBuildProjectDirectory)\..\..\src</FSharpSourcesRoot>
5+
</PropertyGroup>
6+
37
<PropertyGroup>
48
<OutputType>Exe</OutputType>
59
<TargetFramework>net472</TargetFramework>
10+
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
11+
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
12+
<DefaultValueTuplePackageVersion>$(SystemValueTuplePackageVersion)</DefaultValueTuplePackageVersion>
613
</PropertyGroup>
714

815
<ItemGroup>
@@ -14,8 +21,8 @@
1421
</ItemGroup>
1522

1623
<ItemGroup>
17-
<ProjectReferenceInclude="..\..\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj" />
18-
<ProjectReferenceInclude="..\..\src\fsharp\FSharp.Core\FSharp.Core.fsproj" />
24+
<ProjectReferenceInclude="$(FSharpSourcesRoot)\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj" />
25+
<ProjectReferenceInclude="$(FSharpSourcesRoot)\fsharp\FSharp.Core\FSharp.Core.fsproj" />
1926
</ItemGroup>
2027

21-
</Project>
28+
</Project>

‎benchmarks/CompilerServiceBenchmarks/Program.fs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ open Microsoft.FSharp.Compiler.ErrorLogger
66
openMicrosoft.FSharp.Compiler.SourceCodeServices
77
openSystem.Text
88

9-
[<ClrJob(baseline=true)>]
9+
[<ClrJob(baseline=true); MemoryDiagnoser>]
1010
typeCompilerServiceParsing()=
1111

1212
let mutablecheckerOpt= None

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp