Skip to content

Commit 74e56a7

Browse files
author
pmasl
committed
automatic tuning demo v2
1 parent 765a310 commit 74e56a7

25 files changed

Lines changed: 3539 additions & 19 deletions
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.40629.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoWorkload", "DemoWorkload\DemoWorkload.csproj", "{2881A3C4-9153-46F2-8196-9929ED9C17D6}"
7+
EndProject
8+
Project("{00D1A9C2-B5F0-4AF3-8072-F6C62B433612}") = "WideWorldImporters", "WideWorldImporters\WideWorldImporters.sqlproj", "{38641248-77EA-479B-B496-3EDA463ACEAD}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Debug|x86 = Debug|x86
14+
Release|Any CPU = Release|Any CPU
15+
Release|x86 = Release|x86
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Debug|x86.ActiveCfg = Debug|x86
21+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Debug|x86.Build.0 = Debug|x86
22+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Release|x86.ActiveCfg = Release|x86
25+
{2881A3C4-9153-46F2-8196-9929ED9C17D6}.Release|x86.Build.0 = Release|x86
26+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
29+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Debug|x86.ActiveCfg = Debug|Any CPU
30+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Release|Any CPU.Build.0 = Release|Any CPU
32+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Release|Any CPU.Deploy.0 = Release|Any CPU
33+
{38641248-77EA-479B-B496-3EDA463ACEAD}.Release|x86.ActiveCfg = Release|Any CPU
34+
EndGlobalSection
35+
GlobalSection(SolutionProperties) = preSolution
36+
HideSolutionNode = FALSE
37+
EndGlobalSection
38+
EndGlobal
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
<connectionStrings>
4+
<!-- the app uses the WideWorldImporters conn str.
5+
-->
6+
<add name="WideWorldImporters" connectionString="Server=.;Database=WideWorldImporters;Integrated Security=True" providerName="System.Data.SqlClient" />
7+
</connectionStrings>
8+
<appSettings>
9+
<!-- For Azure DB, recommend to reduce the ThreadCount-->
10+
<add key="ThreadCount" value="80" />
11+
<add key="ReadsPerWrite" value="1" />
12+
<add key="RequestCount" value="100000" />
13+
<add key="RowCount" value="100" />
14+
<add key="TransactionCount" value="1" />
15+
<add key="WorkloadIndex" value="0" />
16+
<add key="MaxTps" value="40" />
17+
<add key="MaxPageReads" value="2000" />
18+
<add key="ClientSettingsProvider.ServiceUri" value="" />
19+
</appSettings>
20+
<startup>
21+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
22+
</startup>
23+
<system.web>
24+
<membership defaultProvider="ClientAuthenticationMembershipProvider">
25+
<providers>
26+
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
27+
</providers>
28+
</membership>
29+
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
30+
<providers>
31+
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
32+
</providers>
33+
</roleManager>
34+
</system.web>
35+
</configuration>
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{2881A3C4-9153-46F2-8196-9929ED9C17D6}</ProjectGuid>
9+
<OutputType>WinExe</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>DemoWorkload</RootNamespace>
12+
<AssemblyName>DemoWorkload</AssemblyName>
13+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
14+
<TargetFrameworkProfile>
15+
</TargetFrameworkProfile>
16+
<FileAlignment>512</FileAlignment>
17+
<IsWebBootstrapper>false</IsWebBootstrapper>
18+
<PublishUrl>publish\</PublishUrl>
19+
<Install>true</Install>
20+
<InstallFrom>Disk</InstallFrom>
21+
<UpdateEnabled>false</UpdateEnabled>
22+
<UpdateMode>Foreground</UpdateMode>
23+
<UpdateInterval>7</UpdateInterval>
24+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
25+
<UpdatePeriodically>false</UpdatePeriodically>
26+
<UpdateRequired>false</UpdateRequired>
27+
<MapFileExtensions>true</MapFileExtensions>
28+
<ApplicationRevision>0</ApplicationRevision>
29+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
30+
<UseApplicationTrust>false</UseApplicationTrust>
31+
<BootstrapperEnabled>true</BootstrapperEnabled>
32+
</PropertyGroup>
33+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
34+
<PlatformTarget>x86</PlatformTarget>
35+
<DebugSymbols>true</DebugSymbols>
36+
<DebugType>full</DebugType>
37+
<Optimize>false</Optimize>
38+
<OutputPath>bin\Debug\</OutputPath>
39+
<DefineConstants>DEBUG;TRACE</DefineConstants>
40+
<ErrorReport>prompt</ErrorReport>
41+
<WarningLevel>4</WarningLevel>
42+
<Prefer32Bit>false</Prefer32Bit>
43+
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
44+
</PropertyGroup>
45+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
46+
<PlatformTarget>x86</PlatformTarget>
47+
<DebugType>pdbonly</DebugType>
48+
<Optimize>true</Optimize>
49+
<OutputPath>bin\Release\</OutputPath>
50+
<DefineConstants>TRACE</DefineConstants>
51+
<ErrorReport>prompt</ErrorReport>
52+
<WarningLevel>4</WarningLevel>
53+
<Prefer32Bit>false</Prefer32Bit>
54+
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
55+
</PropertyGroup>
56+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
57+
<DebugSymbols>true</DebugSymbols>
58+
<OutputPath>bin\Debug\</OutputPath>
59+
<DefineConstants>DEBUG;TRACE</DefineConstants>
60+
<DebugType>full</DebugType>
61+
<PlatformTarget>AnyCPU</PlatformTarget>
62+
<CodeAnalysisLogFile>bin\Debug\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
63+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
64+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
65+
<ErrorReport>prompt</ErrorReport>
66+
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
67+
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
68+
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
69+
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
70+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
71+
<Prefer32Bit>false</Prefer32Bit>
72+
<RunCodeAnalysis>true</RunCodeAnalysis>
73+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
74+
</PropertyGroup>
75+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
76+
<OutputPath>bin\Release\</OutputPath>
77+
<DefineConstants>TRACE</DefineConstants>
78+
<Optimize>true</Optimize>
79+
<DebugType>pdbonly</DebugType>
80+
<PlatformTarget>AnyCPU</PlatformTarget>
81+
<CodeAnalysisLogFile>bin\Release\WindowsFormsApplication2.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
82+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
83+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
84+
<ErrorReport>prompt</ErrorReport>
85+
<CodeAnalysisRuleSet>DemoWorkload.ruleset</CodeAnalysisRuleSet>
86+
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
87+
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
88+
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
89+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
90+
<Prefer32Bit>false</Prefer32Bit>
91+
</PropertyGroup>
92+
<PropertyGroup>
93+
<ApplicationIcon>Resources\sqlserver.ico</ApplicationIcon>
94+
</PropertyGroup>
95+
<PropertyGroup>
96+
<SignAssembly>false</SignAssembly>
97+
</PropertyGroup>
98+
<PropertyGroup>
99+
<SignManifests>false</SignManifests>
100+
</PropertyGroup>
101+
<PropertyGroup>
102+
<AssemblyOriginatorKeyFile>
103+
</AssemblyOriginatorKeyFile>
104+
</PropertyGroup>
105+
<PropertyGroup>
106+
<StartupObject>DemoWorkload.Program</StartupObject>
107+
</PropertyGroup>
108+
<ItemGroup>
109+
<Reference Include="PresentationCore" />
110+
<Reference Include="PresentationFramework" />
111+
<Reference Include="System" />
112+
<Reference Include="System.configuration" />
113+
<Reference Include="System.Core" />
114+
<Reference Include="System.Data.Entity" />
115+
<Reference Include="System.Runtime.Serialization" />
116+
<Reference Include="System.Security" />
117+
<Reference Include="System.Web.Extensions" />
118+
<Reference Include="System.Windows.Forms.DataVisualization" />
119+
<Reference Include="System.Xml.Linq" />
120+
<Reference Include="System.Data.DataSetExtensions" />
121+
<Reference Include="Microsoft.CSharp" />
122+
<Reference Include="System.Data" />
123+
<Reference Include="System.Deployment" />
124+
<Reference Include="System.Drawing" />
125+
<Reference Include="System.Windows.Forms" />
126+
<Reference Include="System.Xml" />
127+
<Reference Include="WindowsBase" />
128+
<Reference Include="WindowsFormsIntegration" />
129+
</ItemGroup>
130+
<ItemGroup>
131+
<Compile Include="GlobalSuppressions.cs" />
132+
<Compile Include="FrmConfig.cs">
133+
<SubType>Form</SubType>
134+
</Compile>
135+
<Compile Include="FrmConfig.Designer.cs">
136+
<DependentUpon>FrmConfig.cs</DependentUpon>
137+
</Compile>
138+
<Compile Include="FrmMain.cs">
139+
<SubType>Form</SubType>
140+
</Compile>
141+
<Compile Include="FrmMain.Designer.cs">
142+
<DependentUpon>FrmMain.cs</DependentUpon>
143+
</Compile>
144+
<Compile Include="Program.cs" />
145+
<Compile Include="Properties\AssemblyInfo.cs" />
146+
<EmbeddedResource Include="FrmConfig.resx">
147+
<DependentUpon>FrmConfig.cs</DependentUpon>
148+
</EmbeddedResource>
149+
<EmbeddedResource Include="FrmMain.resx">
150+
<DependentUpon>FrmMain.cs</DependentUpon>
151+
</EmbeddedResource>
152+
<EmbeddedResource Include="Properties\Resources.resx">
153+
<Generator>ResXFileCodeGenerator</Generator>
154+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
155+
<SubType>Designer</SubType>
156+
</EmbeddedResource>
157+
<Compile Include="Properties\Resources.Designer.cs">
158+
<AutoGen>True</AutoGen>
159+
<DependentUpon>Resources.resx</DependentUpon>
160+
<DesignTime>True</DesignTime>
161+
</Compile>
162+
<None Include="App.Config" />
163+
<None Include="DemoWorkload.ruleset" />
164+
<None Include="packages.config" />
165+
<None Include="Properties\Settings.settings">
166+
<Generator>SettingsSingleFileGenerator</Generator>
167+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
168+
</None>
169+
<Compile Include="Properties\Settings.Designer.cs">
170+
<AutoGen>True</AutoGen>
171+
<DependentUpon>Settings.settings</DependentUpon>
172+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
173+
</Compile>
174+
</ItemGroup>
175+
<ItemGroup>
176+
<None Include="Resources\SQLBackground.jpg" />
177+
</ItemGroup>
178+
<ItemGroup>
179+
<None Include="Resources\sqlserver.ico" />
180+
</ItemGroup>
181+
<ItemGroup>
182+
<WCFMetadata Include="Service References\" />
183+
</ItemGroup>
184+
<ItemGroup>
185+
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
186+
<Visible>False</Visible>
187+
<ProductName>Microsoft .NET Framework 4.6 %28x86 and x64%29</ProductName>
188+
<Install>true</Install>
189+
</BootstrapperPackage>
190+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
191+
<Visible>False</Visible>
192+
<ProductName>.NET Framework 3.5 SP1</ProductName>
193+
<Install>false</Install>
194+
</BootstrapperPackage>
195+
</ItemGroup>
196+
<ItemGroup />
197+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
198+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
199+
Other similar extension points exist, see Microsoft.Common.targets.
200+
<Target Name="BeforeBuild">
201+
</Target>
202+
<Target Name="AfterBuild">
203+
</Target>
204+
-->
205+
</Project>

0 commit comments

Comments
 (0)