BasicPerfNavigateToRoslyn.xml 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?xml version="1.0" encoding="utf-8" ?>

<!-- This test measures the performance of the Navigate To operation for Visual Basic.     -->
<!-- The measurement is based on code markers, so it measures the duration of the internal -->
<!-- navigate to operation. Specifically this doesn't include displaying the input dialog. -->

<!-- Due to a bug in Dev11 the measurements between Dev11 and Roslyn are a bit different.  -->
<!-- Dev11 doesn't currently fire the start marker, so timing is based on the timestamp of -->
<!-- the end marker.                                                                       -->

<!-- Additionally Roslyn fires the C# code markers for both C# and VB in this case. I.e.   -->
<!-- the test actually listens for the C# code markers behind the scenes. This is handled  -->
<!-- by the ListenForCodeMarkers action internally.                                        -->

<TaoTest xmlns="http://microsoft.com/schemas/VSLanguages/TAO">
  <InitTest>
    <StartTarget DontResetOptions="true" />
    <EnableClosedFileDiagnostic Enabled="true" Language="Visual Basic"/>
19
    <OpenProject ProjectFile="C:\Roslyn\LegacyTest\RealworldProjects\RoslynSolutions\Roslyn-VB.sln" DeleteSuoFileBeforeOpening="true" DeleteIDECacheBeforeOpening="true"/>
20 21 22 23 24 25 26 27 28 29 30
    <WaitForSolutionCrawler/>
  </InitTest>

  <ScenarioList>
    <Scenario Name="NavigateTo Roslyn" Description="NavigateTo in Roslyn">
      <WaitForIdleCPU/>
      <ListenForCodeMarkers ScenarioGroup="NavigateTo Roslyn" Step="NavigateTo in Roslyn" TimeGoal="0.1" MemoryGoal="0.9" BeginMarker="StartNow" EndMarker="VB_NavigateToEnd" IsVB="true"/>
      <PerfNavigateTo SearchString="node"/>
      <WaitForCodeMarkers />
      <CloseNavigateToWindow />

31 32
      <!--<VerifyRoslynModulesLoadedStatus ExpectedStatus="NoCSharp" />
      <VerifyRoslynModulesLoadedStatus ExpectedStatus="Basic" />-->
33 34 35 36 37 38 39 40
    </Scenario>
  </ScenarioList>

  <CleanupTest>
    <Wait Seconds="5" />
    <CloseTarget />
  </CleanupTest>
</TaoTest>