Skip to content

Commit 66cb8f5

Browse files
authored
Merge pull request #29 from koenbeuk/feature/benchmarks-improvements
Included benchmark back into the solution
2 parents 50e7f43 + b9ee6ed commit 66cb8f5

File tree

5 files changed

+25
-73
lines changed

5 files changed

+25
-73
lines changed

Directory.Build.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
<Project>
2+
<PropertyGroup>
3+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4+
<LangVersion>8.0</LangVersion>
5+
<Nullable>enable</Nullable>
6+
</PropertyGroup>
7+
28
<PropertyGroup>
39
<DefaultNetCoreTargetFramework>netcoreapp3.1</DefaultNetCoreTargetFramework>
410
<Description>Triggers for EF Core. Respond to changes in your ApplicationDbContext before and after they are committed to the database</Description>
@@ -16,18 +22,12 @@
1622
<AssemblyOriginatorKeyFile>../../EntityFrameworkCore.Triggered.snk</AssemblyOriginatorKeyFile>
1723
</PropertyGroup>
1824

19-
<PropertyGroup>
20-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
21-
<LangVersion>8.0</LangVersion>
22-
<Nullable>enable</Nullable>
23-
</PropertyGroup>
24-
2525
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
2626
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2727
</PropertyGroup>
2828

2929
<ItemGroup>
3030
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
3131
</ItemGroup>
32-
32+
3333
</Project>

EntityFrameworkCore.Triggered.sln

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkCore.Trigger
3131
EndProject
3232
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkCore.Triggered.AspNetCore.Tests", "test\EntityFrameworkCore.Triggered.AspNetCore.Tests\EntityFrameworkCore.Triggered.AspNetCore.Tests.csproj", "{A87E7272-8E3E-4D14-A1FA-DB25E25B214B}"
3333
EndProject
34+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "benchmarks", "benchmarks", "{576DC62C-80DA-4BB0-9BB8-EE67DDE977B6}"
35+
ProjectSection(SolutionItems) = preProject
36+
benchmarks\Directory.Build.props = benchmarks\Directory.Build.props
37+
EndProjectSection
38+
EndProject
39+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntityFrameworkCore.Triggered.Benchmarks", "benchmarks\EntityFrameworkCore.Triggered.Benchmarks\EntityFrameworkCore.Triggered.Benchmarks.csproj", "{7B8B835E-C286-413D-A275-24283BE13945}"
40+
EndProject
3441
Global
3542
GlobalSection(SolutionConfigurationPlatforms) = preSolution
3643
Debug|Any CPU = Debug|Any CPU
@@ -69,6 +76,10 @@ Global
6976
{A87E7272-8E3E-4D14-A1FA-DB25E25B214B}.Debug|Any CPU.Build.0 = Debug|Any CPU
7077
{A87E7272-8E3E-4D14-A1FA-DB25E25B214B}.Release|Any CPU.ActiveCfg = Release|Any CPU
7178
{A87E7272-8E3E-4D14-A1FA-DB25E25B214B}.Release|Any CPU.Build.0 = Release|Any CPU
79+
{7B8B835E-C286-413D-A275-24283BE13945}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
80+
{7B8B835E-C286-413D-A275-24283BE13945}.Debug|Any CPU.Build.0 = Debug|Any CPU
81+
{7B8B835E-C286-413D-A275-24283BE13945}.Release|Any CPU.ActiveCfg = Release|Any CPU
82+
{7B8B835E-C286-413D-A275-24283BE13945}.Release|Any CPU.Build.0 = Release|Any CPU
7283
EndGlobalSection
7384
GlobalSection(SolutionProperties) = preSolution
7485
HideSolutionNode = FALSE
@@ -82,6 +93,7 @@ Global
8293
{20CD4CB9-A061-4C32-8F9E-E2C26D19A219} = {0FAE4F6A-93BB-453C-8FB4-B24A9F30DA59}
8394
{9D83E93D-FF88-4034-BB37-20BA92379CAF} = {EDFABD48-3C79-47AE-B84C-47CE2A52C20D}
8495
{A87E7272-8E3E-4D14-A1FA-DB25E25B214B} = {0FAE4F6A-93BB-453C-8FB4-B24A9F30DA59}
96+
{7B8B835E-C286-413D-A275-24283BE13945} = {576DC62C-80DA-4BB0-9BB8-EE67DDE977B6}
8597
EndGlobalSection
8698
GlobalSection(ExtensibilityGlobals) = postSolution
8799
SolutionGuid = {847A0017-23D6-4513-B78E-CAADBD836A7D}

benchmarks/Directory.Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project>
2+
<PropertyGroup>
3+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
4+
<LangVersion>8.0</LangVersion>
5+
</PropertyGroup>
6+
</Project>

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/EntityFrameworkCore.Triggered.Benchmarks.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<PropertyGroup>
33
<TargetFramework>netcoreapp3.1</TargetFramework>
44
<OutputType>Exe</OutputType>
5-
<Nullable>disable</Nullable>
65
</PropertyGroup>
76
<PropertyGroup>
87
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -14,8 +13,6 @@
1413
</PropertyGroup>
1514
<ItemGroup>
1615
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
17-
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.12.1" />
18-
<!--<PackageReference Include="EntityFrameworkCore.Triggered" Version="0.3.2" />-->
1916
<PackageReference Include="EntityFrameworkCore.Triggers" Version="1.2.2" />
2017
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="3.1.7" />
2118
</ItemGroup>

test/EntityFrameworkCore.Triggered.Tests/PerfTest.cs

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)