Skip to content

Fix ServiceStack not calling EndRequest method#8466

Merged
NachoEchevarria merged 5 commits into
masterfrom
nacho/ServiceStackEndRequest
Apr 17, 2026
Merged

Fix ServiceStack not calling EndRequest method#8466
NachoEchevarria merged 5 commits into
masterfrom
nacho/ServiceStackEndRequest

Conversation

@NachoEchevarria

@NachoEchevarria NachoEchevarria commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

Wrap scopes stored in HttpContext.Items in a non-disposable ScopeContainer to prevent premature disposal by third-party frameworks.

Reason for change

Fixes APMS-19184. ServiceStack's ServiceStackHost.OnEndRequest runs before IIS's EndRequest pipeline event and iterates through all HttpContext.Items values, disposing anything that implements IDisposable — including our Scope. This caused Span.Finish() to run before TracingHttpModule.OnEndRequest could set the resource name and status code, resulting in spans with resource: aspnet.request and no http.status_code.

Implementation details

  • Introduced a ScopeContainer nested class that holds both the request scope and the optional inferred proxy scope. It does not implement IDisposable, so ServiceStack's Release() (which does instance as IDisposable) skips it.
  • Combined the two separate HttpContext.Items entries (_httpContextScopeKey and _httpContextProxyScopeKey) into a single ScopeContainer entry.
  • Updated retrieval in OnEndRequest and OnError to unwrap from the container.

Test coverage

Reproduced locally with a ServiceStack 5.4 sample application on IIS Express. The test confirms that aspnet.request spans now get proper resource names and status codes.

Other details

This also protects against any other framework that disposes IDisposable objects from HttpContext.Items during request cleanup.

@github-actions github-actions Bot added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Apr 16, 2026
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Apr 16, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8466) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration73.97 ± (73.77 - 74.35) ms74.12 ± (74.09 - 74.68) ms+0.2%✅⬆️
.NET Framework 4.8 - Bailout
duration77.65 ± (77.55 - 78.02) ms76.95 ± (76.78 - 77.12) ms-0.9%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1070.45 ± (1070.90 - 1076.81) ms1079.44 ± (1080.84 - 1091.23) ms+0.8%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.77 ± (22.70 - 22.83) ms22.63 ± (22.57 - 22.70) ms-0.6%
process.time_to_main_ms86.00 ± (85.68 - 86.31) ms85.71 ± (85.43 - 85.98) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.92 ± (10.92 - 10.92) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.38 ± (22.35 - 22.41) ms22.36 ± (22.32 - 22.40) ms-0.1%
process.time_to_main_ms85.50 ± (85.28 - 85.71) ms86.21 ± (85.99 - 86.42) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.95 - 10.96) MB10.95 ± (10.94 - 10.95) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms229.67 ± (228.36 - 230.99) ms229.82 ± (228.89 - 230.75) ms+0.1%✅⬆️
process.time_to_main_ms525.99 ± (524.79 - 527.19) ms532.46 ± (531.08 - 533.84) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.49 ± (48.46 - 48.52) MB48.49 ± (48.47 - 48.51) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.49 ± (21.43 - 21.55) ms21.38 ± (21.33 - 21.42) ms-0.5%
process.time_to_main_ms74.95 ± (74.62 - 75.27) ms74.38 ± (74.07 - 74.70) ms-0.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.62 ± (10.62 - 10.62) MB10.64 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.07 ± (21.03 - 21.10) ms21.23 ± (21.20 - 21.27) ms+0.8%✅⬆️
process.time_to_main_ms74.14 ± (73.96 - 74.32) ms74.26 ± (74.09 - 74.44) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.71 ± (10.71 - 10.72) MB10.74 ± (10.74 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms384.84 ± (383.04 - 386.63) ms385.33 ± (383.32 - 387.35) ms+0.1%✅⬆️
process.time_to_main_ms526.54 ± (525.42 - 527.66) ms531.57 ± (530.09 - 533.05) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.01 ± (49.98 - 50.03) MB50.08 ± (50.05 - 50.11) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.4%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.35 ± (19.30 - 19.39) ms19.87 ± (19.81 - 19.93) ms+2.7%✅⬆️
process.time_to_main_ms72.52 ± (72.29 - 72.75) ms75.34 ± (75.04 - 75.65) ms+3.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.68) MB7.68 ± (7.67 - 7.68) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.60 ± (19.56 - 19.65) ms19.69 ± (19.64 - 19.74) ms+0.4%✅⬆️
process.time_to_main_ms74.75 ± (74.52 - 74.99) ms75.12 ± (74.91 - 75.34) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.71 ± (7.71 - 7.72) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms304.85 ± (302.54 - 307.15) ms305.00 ± (302.74 - 307.25) ms+0.0%✅⬆️
process.time_to_main_ms487.76 ± (486.79 - 488.73) ms491.76 ± (490.44 - 493.08) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.04 ± (37.02 - 37.06) MB37.07 ± (37.04 - 37.09) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration206.01 ± (205.64 - 206.47) ms210.21 ± (210.06 - 211.15) ms+2.0%✅⬆️
.NET Framework 4.8 - Bailout
duration209.66 ± (209.35 - 210.27) ms213.50 ± (213.19 - 213.86) ms+1.8%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1204.02 ± (1202.96 - 1208.28) ms1237.44 ± (1235.84 - 1241.89) ms+2.8%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms201.91 ± (201.51 - 202.30) ms205.05 ± (204.58 - 205.51) ms+1.6%✅⬆️
process.time_to_main_ms88.21 ± (87.88 - 88.53) ms90.16 ± (89.89 - 90.42) ms+2.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.04 - 16.08) MB15.94 ± (15.92 - 15.96) MB-0.8%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.2%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms201.38 ± (201.02 - 201.74) ms205.61 ± (205.18 - 206.04) ms+2.1%✅⬆️
process.time_to_main_ms89.09 ± (88.89 - 89.30) ms92.23 ± (91.95 - 92.50) ms+3.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.11 - 16.16) MB15.90 ± (15.88 - 15.92) MB-1.5%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.2%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms414.22 ± (413.18 - 415.26) ms423.84 ± (422.23 - 425.45) ms+2.3%✅⬆️
process.time_to_main_ms546.24 ± (545.22 - 547.27) ms562.33 ± (560.73 - 563.94) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.40 ± (59.36 - 59.43) MB59.29 ± (59.24 - 59.34) MB-0.2%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.3%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms207.99 ± (207.61 - 208.37) ms211.05 ± (210.58 - 211.51) ms+1.5%✅⬆️
process.time_to_main_ms77.20 ± (76.97 - 77.42) ms79.06 ± (78.82 - 79.30) ms+2.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.24 ± (16.23 - 16.26) MB16.22 ± (16.19 - 16.24) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (19 - 20)+0.5%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms206.59 ± (206.28 - 206.90) ms210.49 ± (210.03 - 210.95) ms+1.9%✅⬆️
process.time_to_main_ms77.82 ± (77.62 - 78.03) ms79.87 ± (79.65 - 80.09) ms+2.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.26 ± (16.24 - 16.29) MB16.24 ± (16.22 - 16.26) MB-0.1%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)+0.3%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms601.62 ± (598.96 - 604.28) ms598.72 ± (596.20 - 601.24) ms-0.5%
process.time_to_main_ms543.00 ± (541.68 - 544.31) ms552.28 ± (550.72 - 553.85) ms+1.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.96 ± (61.87 - 62.05) MB61.83 ± (61.71 - 61.95) MB-0.2%
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)-0.0%
.NET 8 - Baseline
process.internal_duration_ms205.30 ± (204.84 - 205.76) ms211.40 ± (211.07 - 211.74) ms+3.0%✅⬆️
process.time_to_main_ms76.22 ± (75.94 - 76.51) ms78.62 ± (78.41 - 78.82) ms+3.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.66 ± (11.64 - 11.68) MB11.55 ± (11.53 - 11.56) MB-1.0%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.9%
.NET 8 - Bailout
process.internal_duration_ms204.63 ± (204.23 - 205.03) ms210.82 ± (210.52 - 211.11) ms+3.0%✅⬆️
process.time_to_main_ms77.37 ± (77.15 - 77.59) ms80.09 ± (79.94 - 80.25) ms+3.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.71 ± (11.69 - 11.73) MB11.61 ± (11.59 - 11.63) MB-0.9%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms524.81 ± (520.16 - 529.45) ms542.19 ± (535.47 - 548.90) ms+3.3%✅⬆️
process.time_to_main_ms504.18 ± (503.25 - 505.12) ms514.74 ± (513.97 - 515.50) ms+2.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.69 ± (50.64 - 50.75) MB50.76 ± (50.68 - 50.83) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.0%✅⬆️
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (74ms)  : 70, 79
    master - mean (74ms)  : 70, 79

    section Bailout
    This PR (8466) - mean (77ms)  : 75, 79
    master - mean (78ms)  : 74, 81

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (1,086ms)  : 1021, 1151
    master - mean (1,074ms)  : 1032, 1116

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (115ms)  : 110, 121
    master - mean (116ms)  : 109, 122

    section Bailout
    This PR (8466) - mean (115ms)  : 113, 118
    master - mean (115ms)  : 111, 119

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (801ms)  : 775, 826
    master - mean (793ms)  : 771, 814

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (102ms)  : 96, 109
    master - mean (103ms)  : 97, 109

    section Bailout
    This PR (8466) - mean (102ms)  : 99, 105
    master - mean (102ms)  : 97, 106

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (945ms)  : 906, 984
    master - mean (938ms)  : 906, 970

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (103ms)  : 97, 109
    master - mean (99ms)  : 95, 104

    section Bailout
    This PR (8466) - mean (103ms)  : 98, 109
    master - mean (102ms)  : 97, 107

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (829ms)  : 789, 868
    master - mean (825ms)  : 775, 875

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (211ms)  : 204, 217
    master - mean (206ms)  : 202, 210

    section Bailout
    This PR (8466) - mean (214ms)  : 210, 217
    master - mean (210ms)  : 205, 214

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (1,239ms)  : 1196, 1282
    master - mean (1,206ms)  : 1168, 1243

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (305ms)  : 297, 313
    master - mean (299ms)  : 293, 305

    section Bailout
    This PR (8466) - mean (307ms)  : 300, 314
    master - mean (300ms)  : 295, 304

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (1,029ms)  : 1002, 1055
    master - mean (997ms)  : 962, 1031

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (299ms)  : 292, 307
    master - mean (294ms)  : 286, 302

    section Bailout
    This PR (8466) - mean (299ms)  : 292, 306
    master - mean (293ms)  : 288, 298

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (1,181ms)  : 1154, 1208
    master - mean (1,176ms)  : 1138, 1213

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8466) - mean (301ms)  : 296, 306
    master - mean (293ms)  : 285, 300

    section Bailout
    This PR (8466) - mean (302ms)  : 297, 306
    master - mean (293ms)  : 287, 298

    section CallTarget+Inlining+NGEN
    This PR (8466) - mean (1,095ms)  : 989, 1201
    master - mean (1,064ms)  : 997, 1131

Loading

@andrewlock andrewlock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks! I think an integration test would be nice but I'm not sure it's entirely necessary if you've manually verified this solves the issue, given this all makes sense and is a pretty small change 🙂


if (sender is HttpApplication app &&
app.Context.Items[_httpContextScopeKey] is Scope scope)
app.Context.Items[_httpContextScopeKey] is ScopeContainer container)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was initially concerned that there's a subtle change in behaviour here, in that previously scope is guaranteed non-null, whereas now it's technically not guaranteed to be non null. However, given that (currently) when we call new ScopeContainer(scope, proxyScope), the scope is guaranteed non-null, I think this isn't an issue 🙂

@pr-commenter

pr-commenter Bot commented Apr 16, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-16 16:58:38

Comparing candidate commit 16b8076 in PR branch nacho/ServiceStackEndRequest with baseline commit 5f3c2a8 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 26 metrics, 0 unstable metrics, 87 known flaky benchmarks.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net472

  • 🟥 throughput [-4942.809op/s; -4727.113op/s] or [-5.643%; -5.396%]

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.005%]
  • ignore execution_time [-1478.915µs; -477.998µs] or [-0.735%; -0.237%]
  • ignore throughput [+720.286op/s; +1144.426op/s] or [+0.854%; +1.357%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-2189.447µs; +1323.810µs] or [-1.092%; +0.660%]
  • 🟩 throughput [+9026.100op/s; +11251.659op/s] or [+7.587%; +9.457%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.949ms; +3.177ms] or [+0.477%; +1.598%]
  • ignore throughput [-524.392op/s; +607.170op/s] or [-0.533%; +0.617%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+8 bytes; +9 bytes] or [+0.266%; +0.279%]
  • 🟥 execution_time [+303.361ms; +307.537ms] or [+150.539%; +152.611%]
  • ignore throughput [+16.668op/s; +20.500op/s] or [+2.999%; +3.688%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+382.175ms; +384.907ms] or [+301.942%; +304.100%]
  • ignore throughput [+11.080op/s; +15.159op/s] or [+1.461%; +1.999%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+395.271ms; +398.850ms] or [+349.800%; +352.967%]
  • ignore throughput [-0.618op/s; +2.487op/s] or [-0.087%; +0.351%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-74.943µs; +505.591µs] or [-0.037%; +0.253%]
  • ignore throughput [-4544.751op/s; -4150.435op/s] or [-3.536%; -3.229%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-16.135ms; -11.968ms] or [-7.536%; -5.589%]
  • ignore throughput [+4781.503op/s; +7582.441op/s] or [+3.490%; +5.535%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-13.090ms; -8.943ms] or [-6.233%; -4.259%]
  • ignore throughput [-121.948op/s; +2159.243op/s] or [-0.110%; +1.952%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-719.364µs; -149.642µs] or [-0.358%; -0.075%]
  • 🟥 throughput [-232120.218op/s; -229385.533op/s] or [-23.701%; -23.421%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.252ms; -21.397ms] or [-11.707%; -9.542%]
  • ignore throughput [-57967.996op/s; -34940.778op/s] or [-6.193%; -3.733%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-3.706ms; +0.602ms] or [-1.850%; +0.300%]
  • 🟥 throughput [-124187.590op/s; -108053.452op/s] or [-17.843%; -15.525%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1127.814µs; -104.245µs] or [-0.562%; -0.052%]
  • ignore throughput [-1044.412op/s; -286.922op/s] or [-0.703%; -0.193%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1377.751µs; +2139.297µs] or [-0.695%; +1.079%]
  • 🟩 throughput [+11151.356op/s; +14135.558op/s] or [+7.095%; +8.994%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+1.641ms; +5.643ms] or [+0.836%; +2.877%]
  • 🟩 throughput [+9101.879op/s; +11767.130op/s] or [+7.251%; +9.374%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-283.666µs; -81.547µs] or [-0.142%; -0.041%]
  • ignore throughput [+73888.269op/s; +91230.319op/s] or [+2.248%; +2.775%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-1379.150µs; -586.420µs] or [-0.682%; -0.290%]
  • 🟩 throughput [+387196.225op/s; +413459.945op/s] or [+12.911%; +13.787%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-19.484ms; -15.117ms] or [-8.981%; -6.968%]
  • 🟩 throughput [+234824.440op/s; +288643.710op/s] or [+9.321%; +11.457%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+299.782ms; +300.467ms] or [+149.791%; +150.133%]
  • ignore throughput [+134.989op/s; +166.899op/s] or [+1.491%; +1.843%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.650ms; +302.908ms] or [+151.114%; +152.757%]
  • ignore throughput [+110.961op/s; +323.166op/s] or [+0.849%; +2.472%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.299ms; +301.796ms] or [+150.764%; +152.021%]
  • ignore throughput [+87.446op/s; +215.326op/s] or [+0.844%; +2.079%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.137%; +0.150%]
  • 🟥 execution_time [+296.991ms; +297.798ms] or [+145.870%; +146.266%]
  • ignore throughput [+0.568op/s; +11.477op/s] or [+0.015%; +0.304%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+296.110ms; +299.067ms] or [+144.757%; +146.203%]
  • ignore throughput [+103.288op/s; +146.643op/s] or [+1.501%; +2.130%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+301.300ms; +303.668ms] or [+150.589%; +151.773%]
  • ignore throughput [+14.369op/s; +41.417op/s] or [+0.285%; +0.822%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+5.783µs; +9.789µs] or [+1.187%; +2.010%]
  • ignore throughput [-40.145op/s; -23.746op/s] or [-1.955%; -1.157%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • ignore execution_time [+17.448µs; +44.145µs] or [+4.002%; +10.125%]
  • ignore throughput [-217.441op/s; -97.309op/s] or [-9.453%; -4.231%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+4.936µs; +26.848µs] or [+1.057%; +5.752%]
  • ignore throughput [-134.476op/s; -53.947op/s] or [-6.208%; -2.490%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-4.014µs; -0.000µs] or [-1.084%; -0.000%]
  • ignore throughput [+0.711op/s; +29.618op/s] or [+0.026%; +1.097%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+23.139µs; +46.724µs] or [+7.387%; +14.917%]
  • 🟥 throughput [-434.456op/s; -235.995op/s] or [-13.543%; -7.357%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-15.054µs; +7.304µs] or [-4.118%; +1.998%]
  • ignore throughput [-88.060op/s; +45.309op/s] or [-3.160%; +1.626%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.666ms; +300.324ms] or [+149.564%; +149.893%]
  • ignore throughput [-1658747.190op/s; -1093642.542op/s] or [-0.831%; -0.548%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • ignore allocated_mem [+63 bytes; +65 bytes] or [+0.356%; +0.367%]
  • 🟥 execution_time [+409.208ms; +414.897ms] or [+444.621%; +450.803%]
  • 🟩 throughput [+1052.401op/s; +1192.090op/s] or [+8.648%; +9.796%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+300.645ms; +339.222ms] or [+228.277%; +257.568%]
  • 🟩 throughput [+689.643op/s; +899.408op/s] or [+6.676%; +8.707%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.784KB; +2.789KB] or [+4.946%; +4.955%]
  • unstable execution_time [+302.879ms; +356.780ms] or [+139.261%; +164.044%]
  • 🟥 throughput [-531.783op/s; -463.986op/s] or [-48.185%; -42.042%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [-1.279KB; -1.276KB] or [-3.016%; -3.010%]
  • unstable execution_time [+201.433ms; +334.647ms] or [+85.842%; +142.612%]
  • 🟥 throughput [-745.159op/s; -661.684op/s] or [-49.702%; -44.135%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+225 bytes; +229 bytes] or [+0.534%; +0.541%]
  • 🟥 execution_time [+331.726ms; +339.349ms] or [+198.411%; +202.970%]
  • 🟥 throughput [-399.508op/s; -364.716op/s] or [-27.817%; -25.395%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-61.678µs; -41.142µs] or [-3.104%; -2.070%]
  • ignore throughput [+10.997op/s; +16.454op/s] or [+2.185%; +3.270%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+20.212µs; +33.807µs] or [+1.389%; +2.322%]
  • ignore throughput [-15.321op/s; -9.082op/s] or [-2.230%; -1.322%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-246.583µs; -128.213µs] or [-8.578%; -4.460%]
  • 🟩 throughput [+18.845op/s; +43.722op/s] or [+5.417%; +12.568%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-13.348µs; -5.433µs] or [-1.153%; -0.469%]
  • ignore throughput [+4.370op/s; +10.182op/s] or [+0.506%; +1.179%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-74.871µs; -42.886µs] or [-6.944%; -3.977%]
  • ignore throughput [+42.696op/s; +78.642op/s] or [+4.604%; +8.479%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+51.472µs; +64.235µs] or [+2.758%; +3.441%]
  • ignore throughput [-17.739op/s; -14.282op/s] or [-3.311%; -2.666%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+2.256µs; +12.517µs] or [+0.088%; +0.489%]
  • ignore throughput [-1.867op/s; -0.308op/s] or [-0.478%; -0.079%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-106.686µs; -63.105µs] or [-5.404%; -3.197%]
  • ignore throughput [+18.848op/s; +29.953op/s] or [+3.721%; +5.913%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-129.796µs; -89.044µs] or [-3.292%; -2.258%]
  • ignore throughput [+6.117op/s; +8.708op/s] or [+2.412%; +3.434%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+304.155ms; +305.452ms] or [+153.167%; +153.820%]
  • ignore throughput [+2462.877op/s; +4463.976op/s] or [+0.792%; +1.436%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+299.698ms; +307.687ms] or [+150.179%; +154.182%]
  • ignore throughput [+21178.564op/s; +30855.388op/s] or [+3.339%; +4.865%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.310ms; +304.408ms] or [+151.365%; +152.922%]
  • ignore throughput [+15512.858op/s; +23375.270op/s] or [+3.268%; +4.924%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+304.471ms; +306.420ms] or [+152.895%; +153.874%]
  • ignore throughput [+8481.696op/s; +10210.565op/s] or [+2.842%; +3.421%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.843ms; +300.875ms] or [+147.765%; +148.769%]
  • ignore throughput [+10197.796op/s; +16311.763op/s] or [+1.643%; +2.628%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.783ms; +306.582ms] or [+153.464%; +155.389%]
  • ignore throughput [-2265.730op/s; +6109.206op/s] or [-0.489%; +1.319%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.085ms; +301.563ms] or [+150.616%; +151.358%]
  • ignore throughput [-15964.464op/s; -13878.378op/s] or [-4.142%; -3.600%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.375ms; +301.543ms] or [+149.211%; +150.292%]
  • 🟩 throughput [+61248.287op/s; +66861.508op/s] or [+12.162%; +13.277%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.693ms; +304.389ms] or [+150.090%; +151.431%]
  • ignore throughput [-7675.335op/s; -2644.906op/s] or [-1.817%; -0.626%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-695.392µs; +199.228µs] or [-0.346%; +0.099%]
  • ignore throughput [-12472.315op/s; -10373.371op/s] or [-5.015%; -4.171%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-15.929ms; -12.239ms] or [-7.407%; -5.691%]
  • 🟩 throughput [+25408.931op/s; +32074.707op/s] or [+6.970%; +8.799%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-1002.552µs; +2971.532µs] or [-0.503%; +1.491%]
  • ignore throughput [+9098.742op/s; +14773.767op/s] or [+3.321%; +5.393%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+12.227µs; +52.566µs] or [+3.020%; +12.984%]
  • ignore throughput [-277.113op/s; -73.423op/s] or [-11.151%; -2.955%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-26.751KB; -26.730KB] or [-9.758%; -9.751%]
  • unstable execution_time [-38.373µs; +14.930µs] or [-7.584%; +2.951%]
  • ignore throughput [-44.697op/s; +141.199op/s] or [-2.230%; +7.046%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • ignore allocated_mem [-2.061KB; -2.044KB] or [-0.751%; -0.745%]
  • ignore execution_time [-54.616µs; +1.697µs] or [-9.465%; +0.294%]
  • ignore throughput [+7.487op/s; +159.705op/s] or [+0.428%; +9.124%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+0.713µs; +2.237µs] or [+1.236%; +3.876%]
  • ignore throughput [-626.512op/s; -199.675op/s] or [-3.615%; -1.152%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • unstable execution_time [+9.254µs; +13.512µs] or [+21.874%; +31.939%]
  • 🟥 throughput [-5790.171op/s; -3977.312op/s] or [-24.375%; -16.743%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.731µs; -6.727µs] or [-21.304%; -10.436%]
  • 🟩 throughput [+1638.608op/s; +3097.711op/s] or [+10.053%; +19.005%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+2 bytes; +3 bytes] or [+0.061%; +0.072%]
  • 🟥 execution_time [+303.258ms; +304.608ms] or [+153.283%; +153.966%]
  • ignore throughput [-139.383op/s; -116.364op/s] or [-2.329%; -1.944%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.017%; +0.027%]
  • 🟥 execution_time [+301.860ms; +304.064ms] or [+153.646%; +154.767%]
  • ignore throughput [-120.381op/s; -43.256op/s] or [-1.493%; -0.536%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+299.959ms; +301.833ms] or [+150.167%; +151.105%]
  • ignore throughput [-140.868op/s; -77.755op/s] or [-1.794%; -0.990%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-776.497µs; -177.582µs] or [-0.387%; -0.089%]
  • ignore throughput [-13961.797op/s; -12857.670op/s] or [-3.865%; -3.559%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [+113.852µs; +811.036µs] or [+0.057%; +0.405%]
  • 🟩 throughput [+39732.383op/s; +42826.924op/s] or [+7.521%; +8.106%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.270ms; +4.957ms] or [+0.644%; +2.513%]
  • ignore throughput [+3337.001op/s; +11714.010op/s] or [+0.790%; +2.772%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+299.709ms; +301.537ms] or [+149.378%; +150.289%]
  • ignore throughput [-4744.366op/s; -3238.912op/s] or [-3.133%; -2.139%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+299.791ms; +305.917ms] or [+150.541%; +153.617%]
  • ignore throughput [+3556.924op/s; +6529.211op/s] or [+1.547%; +2.839%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+302.988ms; +305.394ms] or [+153.656%; +154.876%]
  • ignore throughput [+1649.007op/s; +3455.847op/s] or [+0.929%; +1.946%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.840ms; +300.500ms] or [+149.562%; +149.891%]
  • 🟩 throughput [+61197855.253op/s; +61460352.417op/s] or [+44.568%; +44.759%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • ignore allocated_mem [+90 bytes; +92 bytes] or [+0.528%; +0.538%]
  • 🟥 execution_time [+419.700ms; +425.012ms] or [+521.972%; +528.578%]
  • 🟩 throughput [+1025.474op/s; +1200.864op/s] or [+7.927%; +9.283%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.511ms; +300.423ms] or [+149.389%; +149.844%]
  • 🟩 throughput [+18373745.811op/s; +19314459.459op/s] or [+8.138%; +8.555%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+691.102µs; +1221.724µs] or [+0.346%; +0.611%]
  • ignore throughput [-10592.512op/s; -5611.990op/s] or [-1.182%; -0.626%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.697ms; -3.601ms] or [-2.301%; -1.764%]
  • 🟩 throughput [+92298.874op/s; +104127.350op/s] or [+8.618%; +9.722%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+1.754ms; +5.869ms] or [+0.888%; +2.970%]
  • 🟩 throughput [+63296.467op/s; +82406.633op/s] or [+7.326%; +9.538%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+0.624ms; +1.472ms] or [+0.312%; +0.736%]
  • ignore throughput [-22361.194op/s; -18249.243op/s] or [-2.047%; -1.671%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+5.807ms; +9.894ms] or [+3.025%; +5.155%]
  • 🟩 throughput [+93381.247op/s; +123867.146op/s] or [+7.228%; +9.588%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-4.310ms; -2.906ms] or [-2.117%; -1.428%]
  • 🟩 throughput [+89207.572op/s; +97004.812op/s] or [+8.860%; +9.634%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-665.499µs; +630.306µs] or [-0.331%; +0.314%]
  • ignore throughput [+7444.901op/s; +10710.820op/s] or [+1.659%; +2.386%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-975.415µs; +444.928µs] or [-0.487%; +0.222%]
  • 🟩 throughput [+55546.202op/s; +61029.906op/s] or [+10.086%; +11.082%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-0.791ms; +3.276ms] or [-0.398%; +1.646%]
  • 🟩 throughput [+24192.319op/s; +33837.405op/s] or [+5.415%; +7.574%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1113.440µs; -160.419µs] or [-0.555%; -0.080%]
  • ignore throughput [-19117.737op/s; -15910.043op/s] or [-2.798%; -2.329%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1341.674µs; +2216.149µs] or [-0.671%; +1.108%]
  • 🟩 throughput [+55842.590op/s; +74475.789op/s] or [+6.239%; +8.321%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.232ms; +5.132ms] or [+0.626%; +2.606%]
  • ignore throughput [+33757.079op/s; +48453.860op/s] or [+4.713%; +6.765%]

@NachoEchevarria
NachoEchevarria marked this pull request as ready for review April 16, 2026 14:56
@NachoEchevarria
NachoEchevarria requested review from a team as code owners April 16, 2026 14:56
/// <summary>
/// This key is only present when inferred proxy spans are enabled AND necessary proxy headers were present.
/// </summary>
/// <see cref="ConfigurationKeys.FeatureFlags.InferredProxySpansEnabled"/>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess my only nitpick is that it may be beneficial to retain this specific comment maybe below, but not a big deal IMO

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored!

@NachoEchevarria
NachoEchevarria merged commit e36a35c into master Apr 17, 2026
140 checks passed
@NachoEchevarria
NachoEchevarria deleted the nacho/ServiceStackEndRequest branch April 17, 2026 07:15
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) identified-by:customer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants