Skip to content

Commit b3c2416

Browse files
authored
Merge pull request #43658 from genlu/ngen
Enable optimization for workspaces, languageservices & codelens
2 parents 6387bda + f0d0ed2 commit b3c2416

File tree

4 files changed

+3
-20
lines changed

4 files changed

+3
-20
lines changed

eng/config/OptProf.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@
7070
"filename": "/Microsoft.CodeAnalysis.Features.dll",
7171
"testCases":[ "ManagedLangs.OptProfTests.DDRIT_RPS_ManagedLangs" ]
7272
},
73-
{
74-
"filename": "/Microsoft.CodeAnalysis.CSharp.Workspaces.dll",
75-
"testCases":[ "ManagedLangs.OptProfTests.DDRIT_RPS_ManagedLangs" ]
76-
},
7773
{
7874
"filename": "/Microsoft.VisualStudio.LanguageServices.Implementation.dll",
7975
"testCases":[ "ManagedLangs.OptProfTests.DDRIT_RPS_ManagedLangs" ]
@@ -143,10 +139,6 @@
143139
"filename": "/Microsoft.CodeAnalysis.VisualBasic.Features.dll",
144140
"testCases":[ "Microsoft.Test.Performance.XamlOptProfCreateTests.WpfCreateProject_DesignerIsolated" ]
145141
},
146-
{
147-
"filename": "/Microsoft.CodeAnalysis.Workspaces.dll",
148-
"testCases":[ "Microsoft.Test.Performance.XamlOptProfCreateTests.WpfCreateProject_DesignerIsolated" ]
149-
},
150142
{
151143
"filename": "/Microsoft.CodeAnalysis.VisualBasic.dll",
152144
"testCases":[ "Microsoft.Test.Performance.XamlOptProfCreateTests.WpfCreateProject_DesignerIsolated" ]
@@ -252,10 +244,6 @@
252244
"filename": "/Microsoft.CodeAnalysis.VisualBasic.Features.dll",
253245
"testCases":[ "WinForms.OptProfTests.winforms_largeform_vb" ]
254246
},
255-
{
256-
"filename": "/Microsoft.CodeAnalysis.Workspaces.dll",
257-
"testCases":[ "WinForms.OptProfTests.winforms_largeform_vb" ]
258-
},
259247
{
260248
"filename": "/Microsoft.CodeAnalysis.VisualBasic.dll",
261249
"testCases":[ "WinForms.OptProfTests.winforms_largeform_vb" ]
@@ -365,10 +353,6 @@
365353
"filename": "/Microsoft.CodeAnalysis.VisualBasic.Features.dll",
366354
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
367355
},
368-
{
369-
"filename": "/Microsoft.CodeAnalysis.Workspaces.dll",
370-
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
371-
},
372356
{
373357
"filename": "/Microsoft.CodeAnalysis.VisualBasic.dll",
374358
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
@@ -478,10 +462,6 @@
478462
"filename": "/Microsoft.CodeAnalysis.VisualBasic.Features.dll",
479463
"testCases":[ "VSPE.OptProfTests.vs_asl_vb_scenario", "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment" ]
480464
},
481-
{
482-
"filename": "/Microsoft.CodeAnalysis.Workspaces.dll",
483-
"testCases":[ "VSPE.OptProfTests.vs_asl_cs_scenario", "VSPE.OptProfTests.vs_asl_vb_scenario", "VSPE.OptProfTests.vs_perf_DesignTime_solution_loadclose_cs_picasso", "VSPE.OptProfTests.vs_perf_designtime_editor_intellisense_globalcompletionlist_cs", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_solution_loadclose_vb_australiangovernment" ]
484-
},
485465
{
486466
"filename": "/Microsoft.CodeAnalysis.VisualBasic.dll",
487467
"testCases":[ "VSPE.OptProfTests.vs_asl_vb_scenario", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_solution_loadclose_vb_australiangovernment" ]

src/VisualStudio/CodeLens/Microsoft.VisualStudio.LanguageServices.CodeLens.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<RootNamespace>Microsoft.VisualStudio.LanguageServices.CodeLens</RootNamespace>
99
<TargetFramework>net472</TargetFramework>
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11+
<ApplyNgenOptimization>partial</ApplyNgenOptimization>
1112

1213
<!-- NuGet -->
1314
<IsPackable>false</IsPackable>

src/VisualStudio/Core/Def/Microsoft.VisualStudio.LanguageServices.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<GeneratePkgDefFile>true</GeneratePkgDefFile>
1212
<DeployExtension>false</DeployExtension>
1313
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
14+
<ApplyNgenOptimization>partial</ApplyNgenOptimization>
1415

1516
<!-- NuGet -->
1617
<IsPackable>true</IsPackable>

src/Workspaces/Core/Portable/Microsoft.CodeAnalysis.Workspaces.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
99
<DefineConstants>$(DefineConstants);WORKSPACE</DefineConstants>
1010
<GeneratePerformanceSensitiveAttribute>true</GeneratePerformanceSensitiveAttribute>
11+
<ApplyNgenOptimization>partial</ApplyNgenOptimization>
1112

1213
<!-- NuGet -->
1314
<IsPackable>true</IsPackable>

0 commit comments

Comments
 (0)