-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
329 changed files
with
141 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"dotnet.defaultSolution": "src\\Polly.sln" | ||
"dotnet.defaultSolution": "Polly.sln" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project> | ||
<Import Project="$(MsBuildThisFileDirectory)eng/Common.targets" /> | ||
<Import Project="$(MsBuildThisFileDirectory)eng/$(ProjectType).targets" Condition="$(ProjectType) != ''" /> | ||
|
||
<ItemGroup> | ||
<Using Include="System.Collections" /> | ||
<Using Include="System.Collections.Concurrent" /> | ||
<Using Include="System.Diagnostics" /> | ||
<Using Include="System.Reflection" /> | ||
<Using Remove="System.Net.Http" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(IncludePollyUsings)' == 'true'"> | ||
<Using Include="Polly.Bulkhead" /> | ||
<Using Include="Polly.Caching" /> | ||
<Using Include="Polly.CircuitBreaker" /> | ||
<Using Include="Polly.Fallback" /> | ||
<Using Include="Polly.NoOp" /> | ||
<Using Include="Polly.RateLimit" /> | ||
<Using Include="Polly.Registry" /> | ||
<Using Include="Polly.Retry" /> | ||
<Using Include="Polly.Timeout" /> | ||
<Using Include="Polly.Utilities" /> | ||
<Using Include="Polly.Wrap" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/Polly.Benchmarks/Program.cs → bench/Polly.Benchmarks/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
BenchmarkRunner.Run(Assembly.GetCallingAssembly(), args: args); | ||
BenchmarkRunner.Run(Assembly.GetCallingAssembly(), args: args); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/Polly.Core.Benchmarks/BridgeBenchmark.cs → .../Polly.Core.Benchmarks/BridgeBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class BridgeBenchmark | ||
|
2 changes: 0 additions & 2 deletions
2
...ore.Benchmarks/CircuitBreakerBenchmark.cs → ...ore.Benchmarks/CircuitBreakerBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class CircuitBreakerBenchmark | ||
|
2 changes: 0 additions & 2 deletions
2
...nchmarks/CircuitBreakerOpenedBenchmark.cs → ...nchmarks/CircuitBreakerOpenedBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class CircuitBreakerOpenedBenchmark | ||
|
1 change: 0 additions & 1 deletion
1
...re.Benchmarks/GenericOverheadBenchmark.cs → ...re.Benchmarks/GenericOverheadBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System.Runtime.CompilerServices; | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
...Polly.Core.Benchmarks/HedgingBenchmark.cs → ...Polly.Core.Benchmarks/HedgingBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class HedgingBenchmark | ||
|
2 changes: 0 additions & 2 deletions
2
...Benchmarks/MultipleStrategiesBenchmark.cs → ...Benchmarks/MultipleStrategiesBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class MultipleStrategiesBenchmark | ||
|
2 changes: 0 additions & 2 deletions
2
...olly.Core.Benchmarks/PipelineBenchmark.cs → ...olly.Core.Benchmarks/PipelineBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class PipelineBenchmark | ||
|
13 changes: 5 additions & 8 deletions
13
...e.Benchmarks/Polly.Core.Benchmarks.csproj → ...e.Benchmarks/Polly.Core.Benchmarks.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net7.0</TargetFrameworks> | ||
<ImplicitUsings>true</ImplicitUsings> | ||
<ProjectType>Benchmark</ProjectType> | ||
<Nullable>enable</Nullable> | ||
<OutputType>Exe</OutputType> | ||
<UseDefaultAnalyzers>true</UseDefaultAnalyzers> | ||
<NoWarn>$(NoWarn);SA1600</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Using Include="Polly.Core.Benchmarks" /> | ||
<Using Include="Polly.Core.Benchmarks.Utils" /> | ||
<ProjectReference Include="..\Polly.Core\Polly.Core.csproj" /> | ||
<ProjectReference Include="..\Polly.Extensions\Polly.Extensions.csproj" /> | ||
<ProjectReference Include="..\Polly.RateLimiting\Polly.RateLimiting.csproj" /> | ||
<ProjectReference Include="..\Polly\Polly.csproj" /> | ||
<ProjectReference Include="..\..\src\Polly.Core\Polly.Core.csproj" /> | ||
<ProjectReference Include="..\..\src\Polly.Extensions\Polly.Extensions.csproj" /> | ||
<ProjectReference Include="..\..\src\Polly.RateLimiting\Polly.RateLimiting.csproj" /> | ||
<ProjectReference Include="..\..\src\Polly\Polly.csproj" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" /> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
src/Polly.Core.Benchmarks/Program.cs → bench/Polly.Core.Benchmarks/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...y.Core.Benchmarks/RateLimiterBenchmark.cs → ...y.Core.Benchmarks/RateLimiterBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class RateLimiterBenchmark | ||
|
1 change: 0 additions & 1 deletion
1
...Benchmarks/ResilienceStrategyBenchmark.cs → ...Benchmarks/ResilienceStrategyBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
using System.Runtime.CompilerServices; | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
|
1 change: 0 additions & 1 deletion
1
...ks/ResilienceStrategyProviderBenchmark.cs → ...ks/ResilienceStrategyProviderBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/Polly.Core.Benchmarks/RetryBenchmark.cs → ...h/Polly.Core.Benchmarks/RetryBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class RetryBenchmark | ||
|
1 change: 0 additions & 1 deletion
1
...lly.Core.Benchmarks/TelemetryBenchmark.cs → ...lly.Core.Benchmarks/TelemetryBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...Polly.Core.Benchmarks/TimeoutBenchmark.cs → ...Polly.Core.Benchmarks/TimeoutBenchmark.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using BenchmarkDotNet.Attributes; | ||
|
||
namespace Polly.Core.Benchmarks; | ||
|
||
public class TimeoutBenchmark | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.