提交 9b5d7ac3 编写于 作者: M Manish Vasani

Merge pull request #11077 from mavasani/PerfTests

Update the diagnostics rolling perf tests
......@@ -366,10 +366,10 @@
<None Include="PerfTests\CSharpPerfGoldilocksTyping.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\CSharpPerfGoldilocksTypingDiagnostics.xml">
<None Include="PerfTests\CSharpPerfGoldilocksTypingFullSolutionDiagnostics.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\CSharpPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml">
<None Include="PerfTests\CSharpPerfGoldilocksTypingFullSolutionDiagnosticsMultipliedDelay.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\CSharpPerfGoldilocksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>
<None Include="PerfTests\CSharpPerfDiagnosticInsideMethodBody.xml">
<None Include="PerfTests\CSharpPerfFullSolutionDiagnostics.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\CSharpPerfDiagnosticTopLevelWithErrorHub.xml">
<None Include="PerfTests\CSharpPerfFullSolutionDiagnosticsThirdPartyAnalyzers.xml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\CSharpPerfLightBulb.xml">
<None Include="PerfTests\CSharpPerfBuildWithThirdPartyAnalyzers.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>
<Content Include="PerfTests\Sources\CSharpPgoTypingInput.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
......
<?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>
<?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>
<?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>
......
<?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 Diagnostics 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>
<?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. -->
......
<?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>
<?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. -->
......
<?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. -->
......
<?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>
......@@ -501,10 +501,10 @@
<None Include="PerfTests\BasicPerfGoldilocksTyping.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\BasicPerfGoldilocksTypingDiagnostics.xml">
<None Include="PerfTests\BasicPerfGoldilocksTypingFullSolutionDiagnostics.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\BasicPerfGoldilocksTypingDiagnosticsMultipliedDelay.xml">
<None Include="PerfTests\BasicPerfGoldilocksTypingFullSolutionDiagnosticsMultipliedDelay.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\BasicPerfGoldilocksTypingFullSolutionDiagnosticsThirdPartyAnalyzers.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\BasicPerfDiagnosticInsideMethodBody.xml">
<SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="PerfTests\BasicPerfDiagnosticTopLevel.xml">
<None Include="PerfTests\BasicPerfFullSolutionDiagnostics.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>
......
<?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>
<?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>
<?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>
......
<?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>
<?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. -->
......
<?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>
<?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. -->
......
<?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. -->
......
<?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.
先完成此消息的编辑!
想要评论请 注册