Skip to content

Commit

Permalink
Update benchmarks
Browse files Browse the repository at this point in the history
Apply changes from App-vNext#2428.
  • Loading branch information
martincostello committed Jan 11, 2025
1 parent b2cbd42 commit 0b0fe9a
Show file tree
Hide file tree
Showing 17 changed files with 63 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|----------------------- |----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:|
| NoOpAsync | 33.76 ns | 0.663 ns | 0.992 ns | 1.00 | 0.04 | 0.0242 | 304 B | 1.00 |
| NullResiliencePipeline | 138.10 ns | 1.505 ns | 2.253 ns | 4.09 | 0.14 | 0.0298 | 376 B | 1.24 |
| NoOpAsync | 33.11 ns | 0.292 ns | 0.437 ns | 1.00 | 0.02 | 0.0242 | 304 B | 1.00 |
| NullResiliencePipeline | 129.54 ns | 1.257 ns | 1.842 ns | 3.91 | 0.07 | 0.0298 | 376 B | 1.24 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|------------------------- |---------:|--------:|--------:|------:|--------:|-------:|----------:|------------:|
| ExecuteCircuitBreaker_V7 | 114.4 ns | 1.59 ns | 2.39 ns | 1.00 | 0.03 | 0.0370 | 464 B | 1.00 |
| ExecuteCircuitBreaker_V8 | 194.3 ns | 4.80 ns | 6.89 ns | 1.70 | 0.07 | - | - | 0.00 |
| ExecuteCircuitBreaker_V7 | 107.3 ns | 0.58 ns | 0.87 ns | 1.00 | 0.01 | 0.0370 | 464 B | 1.00 |
| ExecuteCircuitBreaker_V8 | 184.6 ns | 0.76 ns | 1.12 ns | 1.72 | 0.02 | - | - | 0.00 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|-------------------------- |-----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:|
| ExecuteAsync_Exception_V7 | 8,254.4 ns | 44.37 ns | 66.41 ns | 23.43 | 1.34 | 0.1526 | 2056 B | 10.28 |
| ExecuteAsync_Exception_V8 | 5,467.4 ns | 71.73 ns | 98.19 ns | 15.52 | 0.92 | 0.0992 | 1312 B | 6.56 |
| ExecuteAsync_Outcome_V8 | 353.5 ns | 13.54 ns | 20.26 ns | 1.00 | 0.08 | 0.0157 | 200 B | 1.00 |
| ExecuteAsync_Exception_V7 | 8,083.4 ns | 14.02 ns | 20.11 ns | 23.70 | 1.61 | 0.1526 | 2056 B | 10.28 |
| ExecuteAsync_Exception_V8 | 5,300.8 ns | 9.41 ns | 13.19 ns | 15.54 | 1.06 | 0.0992 | 1312 B | 6.56 |
| ExecuteAsync_Outcome_V8 | 342.6 ns | 15.15 ns | 22.68 ns | 1.00 | 0.09 | 0.0157 | 200 B | 1.00 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Allocated |
|------------------------------- |---------:|---------:|---------:|----------:|
| CompositeComponent_ExecuteCore | 24.89 ns | 0.491 ns | 0.735 ns | - |
| CompositeComponent_ExecuteCore | 24.88 ns | 0.224 ns | 0.335 ns | - |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Gen0 | Allocated |
|------------ |------------:|----------:|----------:|-------:|----------:|
| Fallback_V7 | 36.61 ns | 0.481 ns | 0.720 ns | 0.0306 | 384 B |
| Fallback_V8 | 1,442.46 ns | 14.806 ns | 22.160 ns | 0.4082 | 5136 B |
| Fallback_V7 | 35.78 ns | 0.286 ns | 0.428 ns | 0.0306 | 384 B |
| Fallback_V8 | 1,416.55 ns | 14.779 ns | 22.121 ns | 0.4082 | 5136 B |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|------------------------------------ |---------:|---------:|---------:|------:|--------:|-------:|----------:|------------:|
| DelegatingComponent_ExecuteCore_Jit | 18.04 ns | 0.124 ns | 0.170 ns | 1.00 | 0.01 | - | - | NA |
| DelegatingComponent_ExecuteCore_Aot | 25.66 ns | 0.092 ns | 0.134 ns | 1.42 | 0.02 | 0.0019 | 24 B | NA |
| DelegatingComponent_ExecuteCore_Jit | 16.48 ns | 0.165 ns | 0.247 ns | 1.00 | 0.02 | - | - | NA |
| DelegatingComponent_ExecuteCore_Aot | 24.26 ns | 0.243 ns | 0.363 ns | 1.47 | 0.03 | 0.0019 | 24 B | NA |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Allocated | Alloc Ratio |
|------------------------ |----------:|----------:|----------:|------:|--------:|----------:|------------:|
| ExecuteAsync_Generic | 8.783 ns | 0.2268 ns | 0.3394 ns | 1.00 | 0.05 | - | NA |
| ExecuteAsync_NonGeneric | 14.518 ns | 0.5443 ns | 0.7807 ns | 1.66 | 0.11 | - | NA |
| ExecuteAsync_Generic | 8.086 ns | 0.1480 ns | 0.2170 ns | 1.00 | 0.04 | - | NA |
| ExecuteAsync_NonGeneric | 14.640 ns | 0.9416 ns | 1.4093 ns | 1.81 | 0.18 | - | NA |
Original file line number Diff line number Diff line change
Expand Up @@ -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 | 504.1 ns | 23.28 ns | 34.85 ns | 501.6 ns | 1.00 | 0.10 | - | - | NA |
| Hedging_Secondary | 736.6 ns | 17.09 ns | 25.59 ns | 746.5 ns | 1.47 | 0.12 | 0.0191 | 240 B | NA |
| Hedging_Primary_AsyncWork | 3,044.9 ns | 96.89 ns | 138.95 ns | 3,134.4 ns | 6.07 | 0.51 | 0.1831 | 2339 B | NA |
| Hedging_Secondary_AsyncWork | 3,832.1 ns | 56.58 ns | 84.69 ns | 3,798.3 ns | 7.64 | 0.57 | 0.2060 | 2581 B | NA |
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|---------------------------- |-----------:|---------:|----------:|------:|--------:|-------:|----------:|------------:|
| Hedging_Primary | 424.6 ns | 11.65 ns | 17.44 ns | 1.00 | 0.06 | - | - | NA |
| Hedging_Secondary | 734.4 ns | 20.07 ns | 30.04 ns | 1.73 | 0.10 | 0.0191 | 240 B | NA |
| Hedging_Primary_AsyncWork | 3,114.8 ns | 95.69 ns | 137.24 ns | 7.35 | 0.43 | 0.1831 | 2333 B | NA |
| Hedging_Secondary_AsyncWork | 3,913.6 ns | 20.38 ns | 29.88 ns | 9.23 | 0.37 | 0.1984 | 2574 B | NA |
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|----------------------------------------------- |-----------:|----------:|----------:|------:|--------:|-------:|----------:|------------:|
| ExecuteStrategyPipeline_Generic_V7 | 952.5 ns | 37.58 ns | 56.25 ns | 1.00 | 0.08 | 0.2184 | 2744 B | 1.00 |
| ExecuteStrategyPipeline_Generic_V8 | 902.5 ns | 70.68 ns | 103.60 ns | 0.95 | 0.12 | 0.0029 | 40 B | 0.01 |
| ExecuteStrategyPipeline_GenericTelemetry_V8 | 1,406.5 ns | 144.11 ns | 215.70 ns | 1.48 | 0.24 | 0.0019 | 40 B | 0.01 |
| ExecuteStrategyPipeline_NonGeneric_V8 | 964.2 ns | 33.53 ns | 50.19 ns | 1.02 | 0.08 | 0.0029 | 40 B | 0.01 |
| ExecuteStrategyPipeline_NonGenericTelemetry_V8 | 1,241.8 ns | 48.57 ns | 72.70 ns | 1.31 | 0.11 | 0.0019 | 40 B | 0.01 |
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|----------------------------------------------- |-----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:|
| ExecuteStrategyPipeline_Generic_V7 | 978.3 ns | 52.38 ns | 78.40 ns | 1.01 | 0.12 | 0.2174 | 2744 B | 1.00 |
| ExecuteStrategyPipeline_Generic_V8 | 815.8 ns | 37.19 ns | 52.13 ns | 0.84 | 0.09 | 0.0029 | 40 B | 0.01 |
| ExecuteStrategyPipeline_GenericTelemetry_V8 | 1,153.5 ns | 52.97 ns | 79.28 ns | 1.19 | 0.13 | 0.0019 | 40 B | 0.01 |
| ExecuteStrategyPipeline_NonGeneric_V8 | 879.4 ns | 55.01 ns | 82.33 ns | 0.91 | 0.12 | 0.0029 | 40 B | 0.01 |
| ExecuteStrategyPipeline_NonGenericTelemetry_V8 | 1,295.3 ns | 60.75 ns | 87.13 ns | 1.33 | 0.15 | 0.0019 | 40 B | 0.01 |
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ Job=MediumRun Toolchain=InProcessEmitToolchain IterationCount=15
LaunchCount=2 WarmupCount=10
```
| Method | Components | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|------------------- |----------- |----------:|----------:|-----------:|----------:|------:|--------:|-------:|----------:|------------:|
| **ExecutePipeline_V7** | **1** | **46.59 ns** | **0.387 ns** | **0.579 ns** | **46.53 ns** | **1.00** | **0.02** | **0.0242** | **304 B** | **1.00** |
| ExecutePipeline_V8 | 1 | 45.60 ns | 0.628 ns | 0.940 ns | 45.89 ns | 0.98 | 0.02 | - | - | 0.00 |
| | | | | | | | | | | |
| **ExecutePipeline_V7** | **2** | **103.08 ns** | **0.825 ns** | **1.210 ns** | **102.85 ns** | **1.00** | **0.02** | **0.0440** | **552 B** | **1.00** |
| ExecutePipeline_V8 | 2 | 66.81 ns | 0.415 ns | 0.608 ns | 66.49 ns | 0.65 | 0.01 | - | - | 0.00 |
| | | | | | | | | | | |
| **ExecutePipeline_V7** | **5** | **379.83 ns** | **26.513 ns** | **39.683 ns** | **401.03 ns** | **1.01** | **0.15** | **0.1030** | **1296 B** | **1.00** |
| ExecutePipeline_V8 | 5 | 173.64 ns | 10.539 ns | 15.774 ns | 173.67 ns | 0.46 | 0.07 | - | - | 0.00 |
| | | | | | | | | | | |
| **ExecutePipeline_V7** | **10** | **745.33 ns** | **79.609 ns** | **119.156 ns** | **751.65 ns** | **1.03** | **0.24** | **0.2012** | **2536 B** | **1.00** |
| ExecutePipeline_V8 | 10 | 350.30 ns | 33.341 ns | 49.904 ns | 342.74 ns | 0.48 | 0.11 | - | - | 0.00 |
| Method | Components | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|------------------- |----------- |----------:|----------:|----------:|------:|--------:|-------:|----------:|------------:|
| **ExecutePipeline_V7** | **1** | **46.22 ns** | **0.305 ns** | **0.457 ns** | **1.00** | **0.01** | **0.0242** | **304 B** | **1.00** |
| ExecutePipeline_V8 | 1 | 48.92 ns | 1.357 ns | 2.032 ns | 1.06 | 0.04 | - | - | 0.00 |
| | | | | | | | | | |
| **ExecutePipeline_V7** | **2** | **107.11 ns** | **0.799 ns** | **1.196 ns** | **1.00** | **0.02** | **0.0440** | **552 B** | **1.00** |
| ExecutePipeline_V8 | 2 | 66.90 ns | 0.333 ns | 0.478 ns | 0.62 | 0.01 | - | - | 0.00 |
| | | | | | | | | | |
| **ExecutePipeline_V7** | **5** | **347.30 ns** | **30.466 ns** | **45.601 ns** | **1.02** | **0.19** | **0.1030** | **1296 B** | **1.00** |
| ExecutePipeline_V8 | 5 | 193.75 ns | 7.942 ns | 11.888 ns | 0.57 | 0.08 | - | - | 0.00 |
| | | | | | | | | | |
| **ExecutePipeline_V7** | **10** | **875.72 ns** | **52.329 ns** | **78.324 ns** | **1.01** | **0.13** | **0.2012** | **2536 B** | **1.00** |
| ExecutePipeline_V8 | 10 | 363.08 ns | 36.179 ns | 54.151 ns | 0.42 | 0.07 | - | - | 0.00 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | RatioSD | Allocated | Alloc Ratio |
|--------------------------- |----------:|----------:|----------:|------:|--------:|----------:|------------:|
| Predicate_SwitchExpression | 7.663 ns | 0.0462 ns | 0.0691 ns | 1.00 | 0.01 | - | NA |
| Predicate_PredicateBuilder | 14.417 ns | 0.1074 ns | 0.1607 ns | 1.88 | 0.03 | - | NA |
| Predicate_SwitchExpression | 7.664 ns | 0.0919 ns | 0.1375 ns | 1.00 | 0.03 | - | NA |
| Predicate_PredicateBuilder | 14.022 ns | 0.0778 ns | 0.1140 ns | 1.83 | 0.04 | - | NA |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
|---------------------- |---------:|--------:|--------:|------:|-------:|----------:|------------:|
| ExecuteRateLimiter_V7 | 120.0 ns | 0.52 ns | 0.77 ns | 1.00 | 0.0298 | 376 B | 1.00 |
| ExecuteRateLimiter_V8 | 128.7 ns | 0.50 ns | 0.74 ns | 1.07 | 0.0031 | 40 B | 0.11 |
| ExecuteRateLimiter_V7 | 118.3 ns | 0.54 ns | 0.81 ns | 1.00 | 0.0298 | 376 B | 1.00 |
| ExecuteRateLimiter_V8 | 127.5 ns | 0.37 ns | 0.56 ns | 1.08 | 0.0031 | 40 B | 0.11 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Allocated | Alloc Ratio |
|----------------------------------------------- |---------:|---------:|---------:|---------:|------:|--------:|----------:|------------:|
| ExecuteOutcomeAsync | 30.05 ns | 0.087 ns | 0.130 ns | 30.07 ns | 1.00 | 0.01 | - | NA |
| ExecuteAsync_ResilienceContextAndState | 55.47 ns | 1.167 ns | 1.674 ns | 54.43 ns | 1.85 | 0.06 | - | NA |
| ExecuteAsync_CancellationToken | 57.52 ns | 0.110 ns | 0.162 ns | 57.51 ns | 1.91 | 0.01 | - | NA |
| ExecuteAsync_GenericStrategy_CancellationToken | 58.20 ns | 0.782 ns | 1.171 ns | 57.92 ns | 1.94 | 0.04 | - | NA |
| Execute_ResilienceContextAndState | 41.84 ns | 0.182 ns | 0.273 ns | 41.70 ns | 1.39 | 0.01 | - | NA |
| Execute_CancellationToken | 43.70 ns | 0.442 ns | 0.661 ns | 43.68 ns | 1.45 | 0.02 | - | NA |
| Execute_GenericStrategy_CancellationToken | 45.34 ns | 0.457 ns | 0.684 ns | 45.28 ns | 1.51 | 0.02 | - | NA |
| ExecuteOutcomeAsync | 30.08 ns | 0.095 ns | 0.140 ns | 30.04 ns | 1.00 | 0.01 | - | NA |
| ExecuteAsync_ResilienceContextAndState | 53.70 ns | 0.315 ns | 0.462 ns | 53.98 ns | 1.79 | 0.02 | - | NA |
| ExecuteAsync_CancellationToken | 60.26 ns | 0.289 ns | 0.432 ns | 60.22 ns | 2.00 | 0.02 | - | NA |
| ExecuteAsync_GenericStrategy_CancellationToken | 60.15 ns | 0.497 ns | 0.743 ns | 60.23 ns | 2.00 | 0.03 | - | NA |
| Execute_ResilienceContextAndState | 40.57 ns | 0.285 ns | 0.426 ns | 40.67 ns | 1.35 | 0.02 | - | NA |
| Execute_CancellationToken | 44.50 ns | 0.057 ns | 0.085 ns | 44.49 ns | 1.48 | 0.01 | - | NA |
| Execute_GenericStrategy_CancellationToken | 44.24 ns | 0.289 ns | 0.423 ns | 44.49 ns | 1.47 | 0.02 | - | NA |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Allocated |
|----------------------- |----------:|----------:|----------:|----------:|
| GetPipeline_Ok | 7.371 ns | 0.0993 ns | 0.1392 ns | - |
| GetPipeline_Generic_Ok | 27.850 ns | 0.2222 ns | 0.3325 ns | - |
| GetPipeline_Ok | 7.757 ns | 0.0455 ns | 0.0653 ns | - |
| GetPipeline_Generic_Ok | 29.880 ns | 0.1353 ns | 0.2025 ns | - |
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
|---------------- |----------:|---------:|---------:|----------:|------:|--------:|-------:|----------:|------------:|
| ExecuteRetry_V7 | 84.98 ns | 0.982 ns | 1.470 ns | 84.83 ns | 1.00 | 0.02 | 0.0408 | 512 B | 1.00 |
| ExecuteRetry_V8 | 122.83 ns | 0.997 ns | 1.461 ns | 121.74 ns | 1.45 | 0.03 | - | - | 0.00 |
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Allocated | Alloc Ratio |
|---------------- |----------:|---------:|---------:|------:|--------:|-------:|----------:|------------:|
| ExecuteRetry_V7 | 84.32 ns | 0.892 ns | 1.280 ns | 1.00 | 0.02 | 0.0408 | 512 B | 1.00 |
| ExecuteRetry_V8 | 124.38 ns | 0.662 ns | 0.971 ns | 1.48 | 0.02 | - | - | 0.00 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LaunchCount=2 WarmupCount=10
```
| Method | Telemetry | Enrichment | Mean | Error | StdDev | Allocated |
|-------- |---------- |----------- |----------:|---------:|---------:|----------:|
| **Execute** | **False** | **False** | **42.81 ns** | **0.308 ns** | **0.462 ns** | **-** |
| **Execute** | **False** | **True** | **42.41 ns** | **0.116 ns** | **0.162 ns** | **-** |
| **Execute** | **True** | **False** | **309.61 ns** | **2.090 ns** | **3.128 ns** | **-** |
| **Execute** | **True** | **True** | **439.01 ns** | **2.594 ns** | **3.882 ns** | **-** |
| **Execute** | **False** | **False** | **42.41 ns** | **0.130 ns** | **0.174 ns** | **-** |
| **Execute** | **False** | **True** | **42.68 ns** | **0.705 ns** | **1.033 ns** | **-** |
| **Execute** | **True** | **False** | **304.12 ns** | **2.064 ns** | **3.089 ns** | **-** |
| **Execute** | **True** | **True** | **427.46 ns** | **4.498 ns** | **6.732 ns** | **-** |
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ LaunchCount=2 WarmupCount=10
```
| Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
|------------------ |---------:|--------:|--------:|------:|-------:|----------:|------------:|
| ExecuteTimeout_V7 | 171.5 ns | 0.67 ns | 0.99 ns | 1.00 | 0.0579 | 728 B | 1.00 |
| ExecuteTimeout_V8 | 163.3 ns | 1.21 ns | 1.81 ns | 0.95 | - | - | 0.00 |
| ExecuteTimeout_V7 | 175.6 ns | 0.72 ns | 1.07 ns | 1.00 | 0.0579 | 728 B | 1.00 |
| ExecuteTimeout_V8 | 164.8 ns | 1.22 ns | 1.82 ns | 0.94 | - | - | 0.00 |

0 comments on commit 0b0fe9a

Please sign in to comment.