diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.BridgeBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.BridgeBenchmark-report-github.md index 6495c413af5..9a156b6ab88 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.BridgeBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.BridgeBenchmark-report-github.md @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | |----------------------- |----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| -| NoOpAsync | 36.72 ns | 4.431 ns | 6.212 ns | 1.02 | 0.22 | 0.0242 | 304 B | 1.00 | -| NullResiliencePipeline | 129.25 ns | 2.554 ns | 3.822 ns | 3.60 | 0.51 | 0.0298 | 376 B | 1.24 | +| NoOpAsync | 32.02 ns | 0.309 ns | 0.452 ns | 1.00 | 0.02 | 0.0242 | 304 B | 1.00 | +| NullResiliencePipeline | 128.75 ns | 1.035 ns | 1.550 ns | 4.02 | 0.07 | 0.0298 | 376 B | 1.24 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerBenchmark-report-github.md index 548f7c88940..0fe53091d8f 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerBenchmark-report-github.md @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | |------------------------- |---------:|--------:|--------:|------:|--------:|-------:|----------:|------------:| -| ExecuteCircuitBreaker_V7 | 111.6 ns | 2.26 ns | 3.38 ns | 1.00 | 0.04 | 0.0370 | 464 B | 1.00 | -| ExecuteCircuitBreaker_V8 | 190.2 ns | 1.73 ns | 2.53 ns | 1.71 | 0.06 | - | - | 0.00 | +| ExecuteCircuitBreaker_V7 | 105.5 ns | 0.82 ns | 1.15 ns | 1.00 | 0.02 | 0.0370 | 464 B | 1.00 | +| ExecuteCircuitBreaker_V8 | 137.7 ns | 1.03 ns | 1.55 ns | 1.31 | 0.02 | - | - | 0.00 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerOpenedBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerOpenedBenchmark-report-github.md index 78f43e2afa8..d829f9bdbe8 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerOpenedBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CircuitBreakerOpenedBenchmark-report-github.md @@ -9,8 +9,8 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|-------------------------- |-----------:|----------:|----------:|------:|--------:|-------:|----------:|------------:| -| ExecuteAsync_Exception_V7 | 8,496.4 ns | 148.94 ns | 208.79 ns | 24.75 | 2.17 | 0.1526 | 2056 B | 10.28 | -| ExecuteAsync_Exception_V8 | 5,645.8 ns | 52.64 ns | 73.79 ns | 16.45 | 1.40 | 0.0992 | 1312 B | 6.56 | -| ExecuteAsync_Outcome_V8 | 345.8 ns | 20.24 ns | 30.30 ns | 1.01 | 0.12 | 0.0157 | 200 B | 1.00 | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|-------------------------- |-----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| +| ExecuteAsync_Exception_V7 | 8,001.6 ns | 26.33 ns | 39.42 ns | 34.50 | 3.05 | 0.1526 | 2056 B | 10.28 | +| ExecuteAsync_Exception_V8 | 5,150.7 ns | 18.12 ns | 27.12 ns | 22.21 | 1.96 | 0.0992 | 1312 B | 6.56 | +| ExecuteAsync_Outcome_V8 | 233.7 ns | 13.48 ns | 20.17 ns | 1.01 | 0.12 | 0.0157 | 200 B | 1.00 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CompositeComponentBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CompositeComponentBenchmark-report-github.md index 27c4827406e..de848e275d6 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CompositeComponentBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CompositeComponentBenchmark-report-github.md @@ -11,4 +11,4 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Allocated | |------------------------------- |---------:|---------:|---------:|----------:| -| CompositeComponent_ExecuteCore | 24.47 ns | 0.251 ns | 0.360 ns | - | +| CompositeComponent_ExecuteCore | 22.38 ns | 0.357 ns | 0.534 ns | - | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CreationBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CreationBenchmark-report-github.md index 7e7c31f23d1..55930f10ab4 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CreationBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.CreationBenchmark-report-github.md @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Gen0 | Allocated | |------------ |------------:|----------:|----------:|-------:|----------:| -| Fallback_V7 | 36.09 ns | 0.317 ns | 0.465 ns | 0.0306 | 384 B | -| Fallback_V8 | 1,466.52 ns | 22.297 ns | 33.373 ns | 0.4025 | 5064 B | +| Fallback_V7 | 34.11 ns | 0.496 ns | 0.727 ns | 0.0306 | 384 B | +| Fallback_V8 | 1,350.30 ns | 15.951 ns | 23.875 ns | 0.4025 | 5064 B | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.DelegatingComponentBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.DelegatingComponentBenchmark-report-github.md index ab26e9aa80c..0d907ea9649 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.DelegatingComponentBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.DelegatingComponentBenchmark-report-github.md @@ -9,7 +9,7 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|------------------------------------ |---------:|---------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| -| DelegatingComponent_ExecuteCore_Jit | 17.73 ns | 0.372 ns | 0.557 ns | 17.84 ns | 1.00 | 0.04 | - | - | NA | -| DelegatingComponent_ExecuteCore_Aot | 28.07 ns | 0.221 ns | 0.323 ns | 28.25 ns | 1.58 | 0.05 | 0.0019 | 24 B | NA | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|------------------------------------ |---------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| +| DelegatingComponent_ExecuteCore_Jit | 16.79 ns | 0.270 ns | 0.405 ns | 1.00 | 0.03 | - | - | NA | +| DelegatingComponent_ExecuteCore_Aot | 25.07 ns | 0.365 ns | 0.546 ns | 1.49 | 0.05 | 0.0019 | 24 B | NA | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.GenericOverheadBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.GenericOverheadBenchmark-report-github.md index fab8d9003e1..4c9ce4f0da5 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.GenericOverheadBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.GenericOverheadBenchmark-report-github.md @@ -9,7 +9,7 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Allocated | Alloc Ratio | -|------------------------ |----------:|----------:|----------:|----------:|------:|--------:|----------:|------------:| -| ExecuteAsync_Generic | 8.720 ns | 0.1965 ns | 0.2755 ns | 8.934 ns | 1.00 | 0.04 | - | NA | -| ExecuteAsync_NonGeneric | 13.574 ns | 0.1276 ns | 0.1870 ns | 13.718 ns | 1.56 | 0.05 | - | NA | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Allocated | Alloc Ratio | +|------------------------ |----------:|----------:|----------:|------:|--------:|----------:|------------:| +| ExecuteAsync_Generic | 7.510 ns | 0.1249 ns | 0.1869 ns | 1.00 | 0.03 | - | NA | +| ExecuteAsync_NonGeneric | 12.465 ns | 0.2906 ns | 0.4349 ns | 1.66 | 0.07 | - | NA | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.HedgingBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.HedgingBenchmark-report-github.md index 965cb70ff92..c7c76ad98ab 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.HedgingBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.HedgingBenchmark-report-github.md @@ -9,9 +9,9 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|---------------------------- |-----------:|---------:|---------:|-----------:|------:|--------:|-------:|----------:|------------:| -| Hedging_Primary | 480.9 ns | 19.69 ns | 29.47 ns | 496.7 ns | 1.00 | 0.09 | - | - | NA | -| Hedging_Secondary | 784.6 ns | 25.82 ns | 38.65 ns | 788.3 ns | 1.64 | 0.13 | 0.0191 | 240 B | NA | -| Hedging_Primary_AsyncWork | 3,119.4 ns | 35.11 ns | 51.46 ns | 3,113.1 ns | 6.51 | 0.42 | 0.1831 | 2338 B | NA | -| Hedging_Secondary_AsyncWork | 3,581.9 ns | 47.02 ns | 64.37 ns | 3,590.9 ns | 7.48 | 0.49 | 0.2022 | 2566 B | NA | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|---------------------------- |-----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| +| Hedging_Primary | 394.6 ns | 10.42 ns | 15.60 ns | 1.00 | 0.06 | - | - | NA | +| Hedging_Secondary | 655.0 ns | 6.08 ns | 9.10 ns | 1.66 | 0.07 | 0.0191 | 240 B | NA | +| Hedging_Primary_AsyncWork | 1,854.6 ns | 11.50 ns | 17.21 ns | 4.71 | 0.19 | 0.1011 | 1289 B | NA | +| Hedging_Secondary_AsyncWork | 2,299.9 ns | 15.49 ns | 23.18 ns | 5.84 | 0.24 | 0.1221 | 1546 B | NA | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.MultipleStrategiesBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.MultipleStrategiesBenchmark-report-github.md index 8ef82c425e9..c55a20c98a5 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.MultipleStrategiesBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.MultipleStrategiesBenchmark-report-github.md @@ -11,8 +11,8 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | |----------------------------------------------- |-----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| -| ExecuteStrategyPipeline_Generic_V7 | 994.4 ns | 82.26 ns | 123.1 ns | 1.02 | 0.18 | 0.2184 | 2744 B | 1.00 | -| ExecuteStrategyPipeline_Generic_V8 | 900.6 ns | 74.47 ns | 111.5 ns | 0.92 | 0.16 | 0.0029 | 40 B | 0.01 | -| ExecuteStrategyPipeline_GenericTelemetry_V8 | 1,277.0 ns | 87.67 ns | 131.2 ns | 1.30 | 0.21 | 0.0019 | 40 B | 0.01 | -| ExecuteStrategyPipeline_NonGeneric_V8 | 953.5 ns | 87.32 ns | 130.7 ns | 0.97 | 0.18 | 0.0029 | 40 B | 0.01 | -| ExecuteStrategyPipeline_NonGenericTelemetry_V8 | 1,297.5 ns | 85.24 ns | 127.6 ns | 1.32 | 0.21 | 0.0019 | 40 B | 0.01 | +| ExecuteStrategyPipeline_Generic_V7 | 926.0 ns | 54.27 ns | 81.23 ns | 1.01 | 0.13 | 0.2184 | 2744 B | 1.00 | +| ExecuteStrategyPipeline_Generic_V8 | 766.3 ns | 45.05 ns | 67.42 ns | 0.83 | 0.10 | 0.0029 | 40 B | 0.01 | +| ExecuteStrategyPipeline_GenericTelemetry_V8 | 1,042.7 ns | 55.46 ns | 83.01 ns | 1.13 | 0.13 | 0.0029 | 40 B | 0.01 | +| ExecuteStrategyPipeline_NonGeneric_V8 | 872.1 ns | 58.58 ns | 87.67 ns | 0.95 | 0.13 | 0.0029 | 40 B | 0.01 | +| ExecuteStrategyPipeline_NonGenericTelemetry_V8 | 1,125.7 ns | 57.02 ns | 85.35 ns | 1.22 | 0.14 | 0.0019 | 40 B | 0.01 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PipelineBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PipelineBenchmark-report-github.md index 03fd9f4cc4d..b7b22db068c 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PipelineBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PipelineBenchmark-report-github.md @@ -9,16 +9,16 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Components | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|------------------- |----------- |----------:|-----------:|-----------:|------:|--------:|-------:|----------:|------------:| -| **ExecutePipeline_V7** | **1** | **49.19 ns** | **0.745 ns** | **1.115 ns** | **1.00** | **0.03** | **0.0242** | **304 B** | **1.00** | -| ExecutePipeline_V8 | 1 | 45.41 ns | 0.064 ns | 0.096 ns | 0.92 | 0.02 | - | - | 0.00 | -| | | | | | | | | | | -| **ExecutePipeline_V7** | **2** | **107.03 ns** | **0.403 ns** | **0.578 ns** | **1.00** | **0.01** | **0.0440** | **552 B** | **1.00** | -| ExecutePipeline_V8 | 2 | 63.22 ns | 0.866 ns | 1.296 ns | 0.59 | 0.01 | - | - | 0.00 | -| | | | | | | | | | | -| **ExecutePipeline_V7** | **5** | **367.20 ns** | **39.852 ns** | **59.649 ns** | **1.03** | **0.24** | **0.1030** | **1296 B** | **1.00** | -| ExecutePipeline_V8 | 5 | 169.31 ns | 16.930 ns | 25.340 ns | 0.47 | 0.10 | - | - | 0.00 | -| | | | | | | | | | | -| **ExecutePipeline_V7** | **10** | **813.37 ns** | **106.720 ns** | **159.734 ns** | **1.04** | **0.31** | **0.2003** | **2536 B** | **1.00** | -| ExecutePipeline_V8 | 10 | 362.39 ns | 50.165 ns | 75.085 ns | 0.47 | 0.14 | - | - | 0.00 | +| Method | Components | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|------------------- |----------- |----------:|----------:|-----------:|----------:|------:|--------:|-------:|----------:|------------:| +| **ExecutePipeline_V7** | **1** | **46.43 ns** | **0.916 ns** | **1.313 ns** | **46.53 ns** | **1.00** | **0.04** | **0.0242** | **304 B** | **1.00** | +| ExecutePipeline_V8 | 1 | 43.76 ns | 0.293 ns | 0.438 ns | 43.51 ns | 0.94 | 0.03 | - | - | 0.00 | +| | | | | | | | | | | | +| **ExecutePipeline_V7** | **2** | **104.95 ns** | **0.426 ns** | **0.625 ns** | **104.88 ns** | **1.00** | **0.01** | **0.0440** | **552 B** | **1.00** | +| ExecutePipeline_V8 | 2 | 59.60 ns | 0.697 ns | 1.044 ns | 59.78 ns | 0.57 | 0.01 | - | - | 0.00 | +| | | | | | | | | | | | +| **ExecutePipeline_V7** | **5** | **387.16 ns** | **30.254 ns** | **45.283 ns** | **388.12 ns** | **1.01** | **0.17** | **0.1030** | **1296 B** | **1.00** | +| ExecutePipeline_V8 | 5 | 159.45 ns | 12.943 ns | 19.373 ns | 162.79 ns | 0.42 | 0.07 | - | - | 0.00 | +| | | | | | | | | | | | +| **ExecutePipeline_V7** | **10** | **771.09 ns** | **85.457 ns** | **127.908 ns** | **775.33 ns** | **1.03** | **0.25** | **0.2012** | **2536 B** | **1.00** | +| ExecutePipeline_V8 | 10 | 347.47 ns | 44.705 ns | 66.912 ns | 346.01 ns | 0.46 | 0.12 | - | - | 0.00 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PredicateBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PredicateBenchmark-report-github.md index a6a3b702d7a..704d74a6ce2 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PredicateBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.PredicateBenchmark-report-github.md @@ -9,7 +9,7 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Allocated | Alloc Ratio | -|--------------------------- |----------:|----------:|----------:|----------:|------:|--------:|----------:|------------:| -| Predicate_SwitchExpression | 7.809 ns | 0.2146 ns | 0.3145 ns | 7.590 ns | 1.00 | 0.06 | - | NA | -| Predicate_PredicateBuilder | 14.890 ns | 0.1196 ns | 0.1754 ns | 14.798 ns | 1.91 | 0.08 | - | NA | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Allocated | Alloc Ratio | +|--------------------------- |----------:|----------:|----------:|------:|--------:|----------:|------------:| +| Predicate_SwitchExpression | 7.625 ns | 0.0609 ns | 0.0911 ns | 1.00 | 0.02 | - | NA | +| Predicate_PredicateBuilder | 14.278 ns | 0.2200 ns | 0.3084 ns | 1.87 | 0.05 | - | NA | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RateLimiterBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RateLimiterBenchmark-report-github.md index e517abc218b..80da790d461 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RateLimiterBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RateLimiterBenchmark-report-github.md @@ -9,7 +9,7 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|---------------------- |---------:|--------:|--------:|------:|--------:|-------:|----------:|------------:| -| ExecuteRateLimiter_V7 | 125.5 ns | 1.06 ns | 1.55 ns | 1.00 | 0.02 | 0.0298 | 376 B | 1.00 | -| ExecuteRateLimiter_V8 | 132.3 ns | 0.95 ns | 1.42 ns | 1.05 | 0.02 | 0.0031 | 40 B | 0.11 | +| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|---------------------- |---------:|--------:|--------:|---------:|------:|--------:|-------:|----------:|------------:| +| ExecuteRateLimiter_V7 | 122.9 ns | 1.06 ns | 1.59 ns | 123.3 ns | 1.00 | 0.02 | 0.0298 | 376 B | 1.00 | +| ExecuteRateLimiter_V8 | 128.4 ns | 1.84 ns | 2.70 ns | 130.6 ns | 1.04 | 0.03 | 0.0031 | 40 B | 0.11 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineBenchmark-report-github.md index 83195ec540c..eec52f4d75b 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineBenchmark-report-github.md @@ -11,10 +11,10 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Allocated | Alloc Ratio | |----------------------------------------------- |---------:|---------:|---------:|---------:|------:|--------:|----------:|------------:| -| ExecuteOutcomeAsync | 28.96 ns | 0.189 ns | 0.271 ns | 29.03 ns | 1.00 | 0.01 | - | NA | -| ExecuteAsync_ResilienceContextAndState | 55.90 ns | 0.282 ns | 0.376 ns | 55.86 ns | 1.93 | 0.02 | - | NA | -| ExecuteAsync_CancellationToken | 59.75 ns | 1.010 ns | 1.512 ns | 59.97 ns | 2.06 | 0.05 | - | NA | -| ExecuteAsync_GenericStrategy_CancellationToken | 62.98 ns | 1.785 ns | 2.672 ns | 63.49 ns | 2.17 | 0.09 | - | NA | -| Execute_ResilienceContextAndState | 44.60 ns | 0.528 ns | 0.791 ns | 44.29 ns | 1.54 | 0.03 | - | NA | -| Execute_CancellationToken | 45.80 ns | 0.330 ns | 0.494 ns | 45.54 ns | 1.58 | 0.02 | - | NA | -| Execute_GenericStrategy_CancellationToken | 46.75 ns | 0.310 ns | 0.463 ns | 46.46 ns | 1.61 | 0.02 | - | NA | +| ExecuteOutcomeAsync | 28.16 ns | 0.739 ns | 1.083 ns | 29.14 ns | 1.00 | 0.05 | - | NA | +| ExecuteAsync_ResilienceContextAndState | 54.02 ns | 0.356 ns | 0.510 ns | 54.04 ns | 1.92 | 0.08 | - | NA | +| ExecuteAsync_CancellationToken | 58.20 ns | 0.551 ns | 0.790 ns | 57.59 ns | 2.07 | 0.08 | - | NA | +| ExecuteAsync_GenericStrategy_CancellationToken | 58.45 ns | 0.245 ns | 0.360 ns | 58.26 ns | 2.08 | 0.08 | - | NA | +| Execute_ResilienceContextAndState | 31.65 ns | 0.245 ns | 0.367 ns | 31.64 ns | 1.13 | 0.04 | - | NA | +| Execute_CancellationToken | 36.59 ns | 0.382 ns | 0.560 ns | 36.69 ns | 1.30 | 0.05 | - | NA | +| Execute_GenericStrategy_CancellationToken | 36.80 ns | 0.245 ns | 0.367 ns | 36.97 ns | 1.31 | 0.05 | - | NA | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineProviderBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineProviderBenchmark-report-github.md index 20c0d71fb23..6ecd0458c79 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineProviderBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.ResiliencePipelineProviderBenchmark-report-github.md @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Allocated | |----------------------- |----------:|----------:|----------:|----------:| -| GetPipeline_Ok | 7.829 ns | 0.1254 ns | 0.1878 ns | - | -| GetPipeline_Generic_Ok | 28.304 ns | 0.1867 ns | 0.2618 ns | - | +| GetPipeline_Ok | 7.247 ns | 0.1021 ns | 0.1529 ns | - | +| GetPipeline_Generic_Ok | 27.297 ns | 0.9394 ns | 1.3770 ns | - | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RetryBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RetryBenchmark-report-github.md index 69fc8e1fed9..6109a54fff0 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RetryBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.RetryBenchmark-report-github.md @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10 ``` | Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | |---------------- |----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:| -| ExecuteRetry_V7 | 85.19 ns | 1.539 ns | 2.256 ns | 1.00 | 0.04 | 0.0408 | 512 B | 1.00 | -| ExecuteRetry_V8 | 130.07 ns | 0.583 ns | 0.872 ns | 1.53 | 0.04 | - | - | 0.00 | +| ExecuteRetry_V7 | 86.09 ns | 0.702 ns | 1.050 ns | 1.00 | 0.02 | 0.0408 | 512 B | 1.00 | +| ExecuteRetry_V8 | 109.46 ns | 0.152 ns | 0.213 ns | 1.27 | 0.02 | - | - | 0.00 | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TelemetryBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TelemetryBenchmark-report-github.md index 9dca9b72c93..7b6e26b61be 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TelemetryBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TelemetryBenchmark-report-github.md @@ -9,9 +9,9 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Telemetry | Enrichment | Mean | Error | StdDev | Allocated | -|-------- |---------- |----------- |----------:|----------:|----------:|----------:| -| **Execute** | **False** | **False** | **43.26 ns** | **0.092 ns** | **0.138 ns** | **-** | -| **Execute** | **False** | **True** | **44.97 ns** | **1.299 ns** | **1.862 ns** | **-** | -| **Execute** | **True** | **False** | **316.54 ns** | **2.804 ns** | **4.198 ns** | **-** | -| **Execute** | **True** | **True** | **435.78 ns** | **12.809 ns** | **19.172 ns** | **-** | +| Method | Telemetry | Enrichment | Mean | Error | StdDev | Allocated | +|-------- |---------- |----------- |----------:|---------:|---------:|----------:| +| **Execute** | **False** | **False** | **39.50 ns** | **0.864 ns** | **1.212 ns** | **-** | +| **Execute** | **False** | **True** | **41.71 ns** | **0.242 ns** | **0.354 ns** | **-** | +| **Execute** | **True** | **False** | **271.68 ns** | **3.107 ns** | **4.650 ns** | **-** | +| **Execute** | **True** | **True** | **323.94 ns** | **2.002 ns** | **2.996 ns** | **-** | diff --git a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TimeoutBenchmark-report-github.md b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TimeoutBenchmark-report-github.md index d5fb613e00e..09ceb04921f 100644 --- a/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TimeoutBenchmark-report-github.md +++ b/bench/BenchmarkDotNet.Artifacts/results/Polly.Core.Benchmarks.TimeoutBenchmark-report-github.md @@ -9,7 +9,7 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15 LaunchCount=2 WarmupCount=10 ``` -| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | -|------------------ |---------:|--------:|--------:|---------:|------:|--------:|-------:|----------:|------------:| -| ExecuteTimeout_V7 | 185.4 ns | 3.07 ns | 4.60 ns | 183.0 ns | 1.00 | 0.03 | 0.0579 | 728 B | 1.00 | -| ExecuteTimeout_V8 | 169.5 ns | 0.95 ns | 1.42 ns | 169.8 ns | 0.91 | 0.02 | - | - | 0.00 | +| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio | +|------------------ |---------:|--------:|--------:|------:|--------:|-------:|----------:|------------:| +| ExecuteTimeout_V7 | 169.9 ns | 1.41 ns | 2.12 ns | 1.00 | 0.02 | 0.0579 | 728 B | 1.00 | +| ExecuteTimeout_V8 | 147.6 ns | 0.73 ns | 1.08 ns | 0.87 | 0.01 | - | - | 0.00 |