Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9b5d7ac3
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9b5d7ac3
编写于
5月 05, 2016
作者:
M
Manish Vasani
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #11077 from mavasani/PerfTests
Update the diagnostics rolling perf tests
上级
58230a04
cffb29fb
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
393 addition
and
224 deletion
+393
-224
src/EditorFeatures/CSharpTest/CSharpEditorServicesTest.csproj
...EditorFeatures/CSharpTest/CSharpEditorServicesTest.csproj
+8
-12
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfBuildWithThirdPartyAnalyzers.xml
...Test/PerfTests/CSharpPerfBuildWithThirdPartyAnalyzers.xml
+45
-0
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfDiagnosticInsideMethodBody.xml
...rpTest/PerfTests/CSharpPerfDiagnosticInsideMethodBody.xml
+0
-49
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfFullSolutionDiagnostics.xml
...SharpTest/PerfTests/CSharpPerfFullSolutionDiagnostics.xml
+4
-4
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml
.../CSharpPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml
+58
-0
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping.xml
...tures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping.xml
+4
-1
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingAnalyzersWithErrorHub.xml
...Tests/CSharpPerfGoldilocksTypingAnalyzersWithErrorHub.xml
+0
-48
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingFullSolutionDiagnostics.xml
...sts/CSharpPerfGoldilocksTypingFullSolutionDiagnostics.xml
+4
-1
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingFullSolutionDiagnosticsMultipliedDelay.xml
...oldilocksTypingFullSolutionDiagnosticsMultipliedDelay.xml
+4
-1
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml
...locksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml
+55
-0
src/EditorFeatures/VisualBasicTest/BasicEditorServicesTest.vbproj
...orFeatures/VisualBasicTest/BasicEditorServicesTest.vbproj
+12
-7
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfBuildWithThirdPartyAnalyzers.xml
...cTest/PerfTests/BasicPerfBuildWithThirdPartyAnalyzers.xml
+54
-0
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfDiagnosticInsideMethodBody.xml
...sicTest/PerfTests/BasicPerfDiagnosticInsideMethodBody.xml
+0
-48
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfFullSolutionDiagnostics.xml
...lBasicTest/PerfTests/BasicPerfFullSolutionDiagnostics.xml
+4
-4
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml
...s/BasicPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml
+66
-0
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTyping.xml
...s/VisualBasicTest/PerfTests/BasicPerfGoldilocksTyping.xml
+4
-1
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingAnalyzers.xml
...asicTest/PerfTests/BasicPerfGoldilocksTypingAnalyzers.xml
+0
-46
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingFullSolutionDiagnostics.xml
...ests/BasicPerfGoldilocksTypingFullSolutionDiagnostics.xml
+4
-1
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingFullSolutionDiagnosticsMultipliedDelay.xml
...oldilocksTypingFullSolutionDiagnosticsMultipliedDelay.xml
+4
-1
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml
...locksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml
+63
-0
未找到文件。
src/EditorFeatures/CSharpTest/CSharpEditorServicesTest.csproj
浏览文件 @
9b5d7ac3
...
...
@@ -366,10 +366,10 @@
<None
Include=
"PerfTests\CSharpPerfGoldilocksTyping.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTypingDiagnostics.xml"
>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTyping
FullSolution
Diagnostics.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml"
>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTyping
FullSolution
DiagnosticsMultipliedDelay.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerfNavigateTo.xml"
/>
...
...
@@ -476,28 +476,24 @@
<Service
Include=
"{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTypingAnalyzers.xml"
>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTyping
FullSolutionDiagnosticsThirdParty
Analyzers.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<SubType>
Designer
</SubType>
</None>
<None
Include=
"PerfTests\CSharpPerf
DiagnosticInsideMethodBody
.xml"
>
<None
Include=
"PerfTests\CSharpPerf
FullSolutionDiagnostics
.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerfDiagnosticTopLevel.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerfGoldilocksTypingAnalyzersWithErrorHub.xml"
>
<SubType>
Designer
</SubType>
<None
Include=
"PerfTests\CSharpPerfLightBulb.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerf
DiagnosticTopLevelWithErrorHub
.xml"
>
<None
Include=
"PerfTests\CSharpPerf
FullSolutionDiagnosticsThirdPartyAnalyzers
.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\CSharpPerf
LightBulb
.xml"
>
<None
Include=
"PerfTests\CSharpPerf
BuildWithThirdPartyAnalyzers
.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<SubType>
Designer
</SubType>
</None>
<Content
Include=
"PerfTests\Sources\CSharpPgoTypingInput.txt"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
...
...
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfBuildWithThirdPartyAnalyzers.xml
0 → 100644
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"C#"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party C# StyleCop analyzers -->
<AddAnalyzersToSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<!-- Save all the project file modifications, so that we can trigger build with analyzers -->
<ExecuteCommand
Command=
"File.SaveAll"
/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Solution Build"
Description=
"Build solution with analyzers"
>
<ForceGC
/>
<CleanSolution/>
<MeasureTimeStart
ScenarioGroup=
"Solution Build"
Step=
"Build"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<Build
IgnoreBuildResult=
"true"
/>
<MeasureTimeStop/>
</Scenario>
<Scenario
Name=
"CompilationWithAnalyzers"
Description=
"Get analyzer diagnostics with CompilationWithAnalyzers public API"
>
<ForceGC
/>
<MeasureTimeStart
ScenarioGroup=
"CompilationWithAnalyzers"
Step=
"CompilationWithAnalyzers"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<VerifyCompilationWithAnalyzers
Count=
"220659"
/>
<MeasureTimeStop/>
</Scenario>
</ScenarioList>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove the added analyzers -->
<RemoveAnalyzersFromSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<!-- Save all the analyzer reference removals from the project files -->
<ExecuteCommand
Command=
"File.SaveAll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfDiagnosticInsideMethodBody.xml
已删除
100644 → 0
浏览文件 @
58230a04
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"C#"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"CSharp Diagnostic Inside MethodBody"
Description=
"CSharp Diagnostic Inside MethodBody"
>
<OpenFile
FileName=
"LanguageParser.cs"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!--<Wait Seconds="10"/>-->
<WaitForIdleCPU/>
<ForceGC
/>
<WaitForIdleCPU/>
<PerfStartEtwListener
FunctionIds=
"Workspace_Document_State_IncrementallyParseSyntaxTree;WorkCoordinator_ProcessDocumentAsync;WorkCoordinator_AsyncWorkItemQueue_LastItem;Diagnostics_SyntaxDiagnostic"
/>
<GoToLine
LineNumber=
"189"
/>
<Wait
Seconds=
"5"
/>
<PerfVerifyDiagnostics
Text=
"i"
ScenarioGroup=
"CSharp Diagnostics MethodBody"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<PerfStopEtwListener/>
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="CSharp" /> -->
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="NoBasic" /> -->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerf
DiagnosticTopLevel
.xml
→
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerf
FullSolutionDiagnostics
.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures background diagnostic analysis performance with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
@@ -12,9 +15,6 @@
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
...
...
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerf
DiagnosticTopLevelWithErrorHub
.xml
→
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerf
FullSolutionDiagnosticsThirdPartyAnalyzers
.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures background diagnostic analysis performance with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Third party analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
@@ -11,17 +14,18 @@
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"C#"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<Wait
Seconds=
"10"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party C# StyleCop analyzers -->
<AddAnalyzersToSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"CSharp Diagnostic Top Level With Error Hub"
Description=
"CSharp Diagnostic Top Level With Error Hub"
>
<PerfShowErrorList
/>
<Scenario
Name=
"CSharp Diagnostic Top Level"
Description=
"CSharp Diagnostic Top Level"
>
<OpenFile
FileName=
"LanguageParser.cs"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!--<Wait Seconds="10"/>-->
...
...
@@ -32,13 +36,12 @@
<GoToLine
LineNumber=
"4775"
/>
<Wait
Seconds=
"5"
/>
<PlaceCursor
Marker=
"Name"
/>
<PerfVerifyDiagnostics
Text=
"i"
ScenarioGroup=
"CSharp Diagnostic
Top Level With Error Hub
"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<PerfVerifyDiagnostics
Text=
"i"
ScenarioGroup=
"CSharp Diagnostic
s Top Level
"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<PerfStopEtwListener/>
<VerifyRoslynModulesLoadedStatus
ExpectedStatus=
"CSharp"
/>
<VerifyRoslynModulesLoadedStatus
ExpectedStatus=
"NoBasic"
/>
</Scenario>
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="CSharp" />-->
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="NoBasic" />-->
</ScenarioList>
<CleanupScenario>
...
...
@@ -46,6 +49,10 @@
</CleanupScenario>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove the added analyzers -->
<RemoveAnalyzersFromSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **OFF**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingAnalyzersWithErrorHub.xml
已删除
100644 → 0
浏览文件 @
58230a04
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"C#"
/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Type Responsiveness"
Description=
"Type Responsiveness"
>
<PerfShowErrorList
/>
<DelayTracker
Action=
"Start"
TestName=
"Roslyn-CSharp(GoldilocksAnalyzersErrorHub)"
OutputPath=
"$(WorkingDir)"
/>
<OpenFile
FileName=
"LanguageParser.cs"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!--<Wait Seconds="10"/>-->
<WaitForSolutionCrawler/>
<ForceGC
/>
<WaitForIdleCPU/>
<GoToLine
LineNumber=
"9524"
/>
<PlayBackTyping
TypingInputFile=
"PerfTests\Sources\CSharpGoldilocksInput.txt"
/>
<DelayTracker
Action=
"Stop"
/>
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="CSharp" />-->
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="NoBasic" />-->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingDiagnostics.xml
→
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping
FullSolution
Diagnostics.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml
→
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping
FullSolution
DiagnosticsMultipliedDelay.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with mutiple delays with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTypingAnalyzers.xml
→
src/EditorFeatures/CSharpTest/PerfTests/CSharpPerfGoldilocksTyping
FullSolutionDiagnosticsThirdParty
Analyzers.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Third party analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<!-- This test uses a recording of three real users typing. -->
...
...
@@ -11,14 +14,15 @@
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"C#"
/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-CSharp.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party C# StyleCop analyzers -->
<AddAnalyzersToSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Type Responsiveness"
Description=
"Type Responsiveness"
>
<DelayTracker
Action=
"Start"
TestName=
"Roslyn-CSharp(GoldilocksAnalyzers)"
OutputPath=
"$(WorkingDir)"
/>
<OpenFile
FileName=
"LanguageParser.cs"
/>
...
...
@@ -42,6 +46,10 @@
</CleanupScenario>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove the added analyzers -->
<RemoveAnalyzersFromSolution
CSharpAnalyzers=
"References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll;References\Analyzers\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/VisualBasicTest/BasicEditorServicesTest.vbproj
浏览文件 @
9b5d7ac3
...
...
@@ -501,10 +501,10 @@
<None
Include=
"PerfTests\BasicPerfGoldilocksTyping.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerfGoldilocksTypingDiagnostics.xml"
>
<None
Include=
"PerfTests\BasicPerfGoldilocksTyping
FullSolution
Diagnostics.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml"
>
<None
Include=
"PerfTests\BasicPerfGoldilocksTyping
FullSolution
DiagnosticsMultipliedDelay.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerfNavigateTo.xml"
/>
...
...
@@ -583,14 +583,11 @@
<Service
Include=
"{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"PerfTests\BasicPerfGoldilocksTypingAnalyzers.xml"
>
<None
Include=
"PerfTests\BasicPerfGoldilocksTyping
FullSolutionDiagnosticsThirdParty
Analyzers.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerfDiagnosticInsideMethodBody.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerf
DiagnosticTopLevel
.xml"
>
<None
Include=
"PerfTests\BasicPerf
FullSolutionDiagnostics
.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
...
...
@@ -598,6 +595,14 @@
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<Compile
Include=
"CodeActions\ReplaceMethodWithProperty\ReplaceMethodWithPropertyTests.vb"
/>
<None
Include=
"PerfTests\BasicPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml"
>
<SubType>
Designer
</SubType>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"PerfTests\BasicPerfBuildWithThirdPartyAnalyzers.xml"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<SubType>
Designer
</SubType>
</None>
<Content
Include=
"PerfTests\Sources\BasicPgoTypingInput.txt"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</Content>
...
...
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfBuildWithThirdPartyAnalyzers.xml
0 → 100644
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"Visual Basic"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party VB FxCop analyzers -->
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<!-- Save all the project file modifications, so that we can trigger build with analyzers -->
<ExecuteCommand
Command=
"File.SaveAll"
/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Solution Build"
Description=
"Build solution with analyzers"
>
<ForceGC
/>
<CleanSolution/>
<MeasureTimeStart
ScenarioGroup=
"Solution Build"
Step=
"Build"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<Build
ExpectBuildToFail=
"true"
/>
<MeasureTimeStop/>
</Scenario>
<Scenario
Name=
"CompilationWithAnalyzers"
Description=
"Get analyzer diagnostics with CompilationWithAnalyzers public API"
>
<ForceGC
/>
<MeasureTimeStart
ScenarioGroup=
"CompilationWithAnalyzers"
Step=
"CompilationWithAnalyzers"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<VerifyCompilationWithAnalyzers
Count=
"77"
/>
<MeasureTimeStop/>
</Scenario>
</ScenarioList>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove added analyzers -->
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<!-- Save all the analyzer reference removals from the project files -->
<ExecuteCommand
Command=
"File.SaveAll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfDiagnosticInsideMethodBody.xml
已删除
100644 → 0
浏览文件 @
58230a04
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"Visual Basic"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Basic Diagnostic Inside MethodBody"
Description=
"Basic Diagnostic Inside MethodBody"
>
<OpenFile
FileName=
"SourceNamedTypeSymbol.vb"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!-- <Wait Seconds="10"/> -->
<WaitForIdleCPU/>
<ForceGC
/>
<WaitForIdleCPU/>
<PerfStartEtwListener
FunctionIds=
"Workspace_Document_State_IncrementallyParseSyntaxTree;WorkCoordinator_ProcessDocumentAsync;WorkCoordinator_AsyncWorkItemQueue_LastItem;Diagnostics_SyntaxDiagnostic"
/>
<GoToLine
LineNumber=
"173"
/>
<Wait
Seconds=
"5"
/>
<PerfVerifyDiagnostics
Text=
"c"
ScenarioGroup=
"VisualBasic Diagnostics MethodBody"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<PerfStopEtwListener/>
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="NoCSharp" /> -->
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="Basic" /> -->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerf
DiagnosticTopLevel
.xml
→
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerf
FullSolutionDiagnostics
.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures background diagnostic analysis performance with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
...
...
@@ -11,9 +14,6 @@
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
...
...
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml
0 → 100644
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures background diagnostic analysis performance with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"Visual Basic"
/>
<PerfEnableEtwDiagnosticLogger/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party VB FxCop analyzers -->
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Basic Diagnostic Top Level"
Description=
"Basic Diagnostic Top Level"
>
<OpenFile
FileName=
"SourceNamedTypeSymbol.vb"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!-- <Wait Seconds="10"/> -->
<WaitForIdleCPU/>
<ForceGC
/>
<WaitForIdleCPU/>
<PerfStartEtwListener
FunctionIds=
"Workspace_Document_State_IncrementallyParseSyntaxTree;WorkCoordinator_ProcessDocumentAsync;WorkCoordinator_AsyncWorkItemQueue_LastItem;Diagnostics_SyntaxDiagnostic"
/>
<GoToLine
LineNumber=
"570"
/>
<Wait
Seconds=
"5"
/>
<PlaceCursor
Marker=
"Members"
/>
<PerfVerifyDiagnostics
Text=
"c"
ScenarioGroup=
"VisualBasic Diagnostics Top Level"
TimeGoal=
"0.1"
MemoryGoal=
"0.9"
/>
<PerfStopEtwListener/>
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="NoCSharp" /> -->
<!-- <VerifyRoslynModulesLoadedStatus ExpectedStatus="Basic" /> -->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove added analyzers -->
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTyping.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **OFF**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
...
...
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingAnalyzers.xml
已删除
100644 → 0
浏览文件 @
58230a04
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"Visual Basic"
/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<AddAnalyzersToSolution
CommonAnalyzers=
"Microsoft.CodeAnalysis.FxCopAnalyzers.dll"
CSharpAnalyzers=
"Microsoft.CodeAnalysis.CSharp.FxCopAnalyzers.dll"
VisualBasicAnalyzers=
"Microsoft.CodeAnalysis.VisualBasic.FxCopAnalyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Type Responsiveness"
Description=
"Type Responsiveness"
>
<DelayTracker
Action=
"Start"
TestName=
"Roslyn-VB(GoldilocksAnalyzers)"
OutputPath=
"$(WorkingDir)"
/>
<OpenFile
FileName=
"SourceNamedTypeSymbol.vb"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!-- <Wait Seconds="10"/> -->
<WaitForSolutionCrawler/>
<ForceGC
/>
<WaitForIdleCPU/>
<GoToLine
LineNumber=
"5836"
/>
<PlayBackTyping
TypingInputFile=
"PerfTests\Sources\BasicGoldilocksInput.txt"
/>
<DelayTracker
Action=
"Stop"
/>
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="NoCSharp" />-->
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="Basic" />-->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingDiagnostics.xml
→
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTyping
FullSolution
Diagnostics.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
...
...
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml
→
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTyping
FullSolution
DiagnosticsMultipliedDelay.xml
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness. It uses the same delay tracker as the DDRIT test. -->
<!-- This test measures typing responsiveness with mutiple delays with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Built-in IDE analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
...
...
src/EditorFeatures/VisualBasicTest/PerfTests/BasicPerfGoldilocksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml
0 → 100644
浏览文件 @
9b5d7ac3
<?xml version="1.0" encoding="utf-8" ?>
<!-- This test measures typing responsiveness with: -->
<!-- (a) Full solution analysis turned **ON**. -->
<!-- (a) Third party analyzers. -->
<!-- It uses the same delay tracker as the DDRIT test. -->
<!-- This test doesn't produce a regular Tao perf results file. Instead it produce a log and a -->
<!-- results file. -->
<TaoTest
xmlns=
"http://microsoft.com/schemas/VSLanguages/TAO"
>
<InitTest>
<StartTarget
DontResetOptions=
"true"
/>
<EnableClosedFileDiagnostic
Enabled=
"true"
Language=
"Visual Basic"
/>
<OpenProject
ProjectFile=
"C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln"
DeleteSuoFileBeforeOpening=
"true"
DeleteIDECacheBeforeOpening=
"true"
/>
<Wait
Seconds=
"60"
/>
<!-- Disable built-in IDE analyzers -->
<DisableAnalyzers
Analyzers =
"Microsoft.CodeAnalysis.Features.dll;Microsoft.CodeAnalysis.CSharp.Features.dll;Microsoft.CodeAnalysis.VisualBasic.Features.dll;Microsoft.CodeAnalysis.EditorFeatures.dll;Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll;Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
RulesetFile =
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Add 3rd party VB FxCop analyzers -->
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<AddAnalyzersToSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<ForceGC/>
</InitTest>
<ScenarioList>
<Scenario
Name=
"Type Responsiveness"
Description=
"Type Responsiveness"
>
<DelayTracker
Action=
"Start"
TestName=
"Roslyn-VB(GoldilocksAnalyzers)"
OutputPath=
"$(WorkingDir)"
/>
<OpenFile
FileName=
"SourceNamedTypeSymbol.vb"
/>
<!-- Insert Wait to let things cool down. For more accurate timings use WaitForIdleCPU. -->
<!-- <Wait Seconds="10"/> -->
<WaitForSolutionCrawler/>
<ForceGC
/>
<WaitForIdleCPU/>
<GoToLine
LineNumber=
"5836"
/>
<PlayBackTyping
TypingInputFile=
"PerfTests\Sources\BasicGoldilocksInput.txt"
/>
<DelayTracker
Action=
"Stop"
/>
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="NoCSharp" />-->
<!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="Basic" />-->
</Scenario>
</ScenarioList>
<CleanupScenario>
<CloseFile
SaveFile=
"false"
/>
</CleanupScenario>
<CleanupTest>
<!-- Revert the ruleset changes -->
<ReplaceRuleset
SourceRulesetFile=
"Tools\Targets\Roslyn_Default.ruleset"
DestinationRulesetFile=
"Tools\Targets\Roslyn.ruleset"
/>
<!-- Remove added analyzers -->
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.Analyzers.dll;References\Analyzers\Desktop.Analyzers.1.1.0\analyzers\dotnet\vb\Desktop.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.Analyzers.dll;References\Analyzers\System.Runtime.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.Common.dll;References\Analyzers\Microsoft.AnalyzerPowerPack.1.0.1\analyzers\dotnet\vb\Microsoft.AnalyzerPowerPack.VisualBasic.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.Analyzers.dll;References\Analyzers\System.Runtime.InteropServices.Analyzers.1.0.1\analyzers\dotnet\vb\System.Runtime.InteropServices.VisualBasic.Analyzers.dll"
/>
<RemoveAnalyzersFromSolution
VisualBasicAnalyzers=
"References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.Analyzers.dll;References\Analyzers\System.Security.Cryptography.Hashing.Algorithms.Analyzers.1.1.0\analyzers\dotnet\vb\System.Security.Cryptography.Hashing.Algorithms.VisualBasic.Analyzers.dll"
/>
<CloseTarget
/>
</CleanupTest>
</TaoTest>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录