Skip to content

Fix processing pipeline for client-side-stats#8436

Open
andrewlock wants to merge 13 commits intoandrew/client-side-stats/refactor-trace-chunk-modelfrom
andrew/client-side-stats/update-processing-pipeline
Open

Fix processing pipeline for client-side-stats#8436
andrewlock wants to merge 13 commits intoandrew/client-side-stats/refactor-trace-chunk-modelfrom
andrew/client-side-stats/update-processing-pipeline

Conversation

@andrewlock
Copy link
Copy Markdown
Member

@andrewlock andrewlock commented Apr 9, 2026

Summary of changes

Updates the processing pipeline for client side stats

Reason for change

The bulk of the CSS 1.2.0 work was done in #8420, but the span-processing pipeline wasn't the same as the Go agent:

Step Go Agent .NET Tracer
1 Normalize Normalize + Obfuscate (ProcessTrace)
2 Filter Filter + Sample (ShouldKeepTrace)
3 Obfuscate
4 Sample
5 Stats Stats (AddRange)

Implementation details

The difference was mostly due to the way we had separate ProcessTrace() and ShouldKeepTrace() methods. By merging them, we can encapsulate the pipeline, and ensure that we mirror the way the Go agent processes traces.

Additionally, there are two different mechanisms for dropping spans now - p0drops and "trace filtering", so added a new metric tag reason:trace_filter for it.

Additionally, made some small optimizations:

  • No need for an array of ITraceProcessor when it only contains one
  • Updated TraceFilter algorithm to correctly look for local trace root, starting from last span
  • Made _statsAggregator non-null in AgentWriter to eliminate a bunch of null checks

Test coverage

Covered by existing tests.

Other details

Part of a stack:

@andrewlock andrewlock added area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) type:refactor labels Apr 9, 2026
@andrewlock andrewlock force-pushed the andrew/client-side-stats/update-processing-pipeline branch from 0b9d17e to 833ad62 Compare April 9, 2026 22:41
@andrewlock andrewlock force-pushed the andrew/client-side-stats/refactor-trace-chunk-model branch from d367d99 to efd496f Compare April 9, 2026 22:41
@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

dd-trace-dotnet-ci-bot bot commented Apr 9, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8436) 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
duration72.33 ± (72.36 - 72.68) ms73.81 ± (73.74 - 74.34) ms+2.1%✅⬆️
.NET Framework 4.8 - Bailout
duration78.47 ± (78.42 - 78.89) ms76.93 ± (76.86 - 77.21) ms-2.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1070.97 ± (1069.44 - 1075.85) ms1077.97 ± (1076.78 - 1083.35) ms+0.7%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.39 ± (22.35 - 22.43) ms22.52 ± (22.46 - 22.58) ms+0.6%✅⬆️
process.time_to_main_ms84.23 ± (83.98 - 84.49) ms84.63 ± (84.34 - 84.92) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.90) MB10.90 ± (10.90 - 10.90) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.40 ± (22.36 - 22.45) ms22.31 ± (22.27 - 22.35) ms-0.4%
process.time_to_main_ms85.95 ± (85.73 - 86.18) ms84.51 ± (84.30 - 84.72) ms-1.7%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.93 - 10.93) MB10.93 ± (10.92 - 10.93) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms226.88 ± (225.79 - 227.96) ms228.22 ± (227.25 - 229.20) ms+0.6%✅⬆️
process.time_to_main_ms521.56 ± (520.45 - 522.67) ms526.50 ± (525.12 - 527.87) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.42 ± (48.38 - 48.45) MB48.40 ± (48.37 - 48.43) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms21.36 ± (21.31 - 21.41) ms21.24 ± (21.20 - 21.28) ms-0.6%
process.time_to_main_ms73.23 ± (73.00 - 73.46) ms73.11 ± (72.91 - 73.31) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.62 ± (10.61 - 10.62) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.99 ± (20.96 - 21.02) ms21.43 ± (21.38 - 21.48) ms+2.1%✅⬆️
process.time_to_main_ms72.76 ± (72.61 - 72.91) ms75.45 ± (75.21 - 75.70) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.70 ± (10.70 - 10.71) MB10.73 ± (10.73 - 10.73) MB+0.3%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.03 ± (381.11 - 384.94) ms386.05 ± (384.12 - 387.99) ms+0.8%✅⬆️
process.time_to_main_ms527.49 ± (526.22 - 528.76) ms526.55 ± (525.38 - 527.72) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.98 ± (49.96 - 50.01) MB50.04 ± (50.01 - 50.07) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 8 - Baseline
process.internal_duration_ms19.37 ± (19.34 - 19.40) ms19.53 ± (19.48 - 19.57) ms+0.8%✅⬆️
process.time_to_main_ms72.26 ± (72.10 - 72.41) ms73.21 ± (73.00 - 73.41) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.68) MB7.65 ± (7.64 - 7.65) MB-0.3%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.66 ± (19.61 - 19.70) ms19.73 ± (19.68 - 19.78) ms+0.4%✅⬆️
process.time_to_main_ms75.23 ± (75.00 - 75.47) ms76.07 ± (75.84 - 76.29) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.70 ± (7.69 - 7.70) MB7.69 ± (7.68 - 7.69) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms301.36 ± (298.99 - 303.74) ms303.45 ± (301.31 - 305.58) ms+0.7%✅⬆️
process.time_to_main_ms486.95 ± (485.92 - 487.99) ms488.65 ± (487.60 - 489.70) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.10 ± (37.08 - 37.13) MB37.50 ± (37.43 - 37.57) MB+1.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.2%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration201.88 ± (201.57 - 202.47) ms201.41 ± (201.14 - 201.94) ms-0.2%
.NET Framework 4.8 - Bailout
duration205.66 ± (205.50 - 206.48) ms204.44 ± (204.41 - 205.27) ms-0.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1193.51 ± (1190.60 - 1196.10) ms1179.71 ± (1179.74 - 1186.53) ms-1.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms197.68 ± (197.18 - 198.17) ms194.47 ± (193.99 - 194.94) ms-1.6%
process.time_to_main_ms86.27 ± (85.99 - 86.55) ms84.58 ± (84.28 - 84.88) ms-2.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.99 ± (15.96 - 16.01) MB16.04 ± (16.02 - 16.07) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.5%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms197.28 ± (196.92 - 197.65) ms194.22 ± (193.82 - 194.62) ms-1.6%
process.time_to_main_ms87.78 ± (87.50 - 88.05) ms86.45 ± (86.15 - 86.74) ms-1.5%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.05 - 16.08) MB16.09 ± (16.07 - 16.11) MB+0.2%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms406.78 ± (405.46 - 408.10) ms402.73 ± (401.44 - 404.02) ms-1.0%
process.time_to_main_ms531.27 ± (530.21 - 532.33) ms528.94 ± (527.70 - 530.18) ms-0.4%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.20 ± (59.16 - 59.25) MB59.30 ± (59.26 - 59.34) MB+0.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms203.36 ± (202.93 - 203.79) ms200.01 ± (199.57 - 200.44) ms-1.6%
process.time_to_main_ms75.17 ± (74.93 - 75.42) ms73.57 ± (73.28 - 73.86) ms-2.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.24 ± (16.22 - 16.27) MB16.25 ± (16.22 - 16.27) MB+0.0%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.7%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms202.34 ± (201.86 - 202.82) ms199.68 ± (199.25 - 200.12) ms-1.3%
process.time_to_main_ms75.58 ± (75.35 - 75.80) ms74.84 ± (74.67 - 75.01) ms-1.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.37 ± (16.34 - 16.40) MB16.31 ± (16.28 - 16.34) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.6%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms598.47 ± (595.81 - 601.13) ms598.12 ± (595.74 - 600.51) ms-0.1%
process.time_to_main_ms531.63 ± (530.47 - 532.78) ms527.69 ± (526.74 - 528.65) ms-0.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.79 ± (61.69 - 61.89) MB61.72 ± (61.63 - 61.81) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 31)30 ± (30 - 30)-0.2%
.NET 8 - Baseline
process.internal_duration_ms200.22 ± (199.70 - 200.73) ms198.24 ± (197.83 - 198.64) ms-1.0%
process.time_to_main_ms74.07 ± (73.80 - 74.33) ms73.30 ± (73.03 - 73.57) ms-1.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.68 - 11.73) MB11.68 ± (11.65 - 11.70) MB-0.2%
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (18 - 19)+0.3%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms199.68 ± (199.22 - 200.13) ms198.07 ± (197.64 - 198.51) ms-0.8%
process.time_to_main_ms74.93 ± (74.75 - 75.12) ms74.30 ± (74.09 - 74.51) ms-0.8%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.80) MB11.75 ± (11.72 - 11.77) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.3%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms520.69 ± (516.70 - 524.69) ms521.92 ± (518.98 - 524.87) ms+0.2%✅⬆️
process.time_to_main_ms492.40 ± (491.18 - 493.61) ms489.27 ± (488.44 - 490.11) ms-0.6%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.58 ± (50.53 - 50.63) MB50.84 ± (50.80 - 50.89) MB+0.5%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.5%
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 (8436) - mean (74ms)  : 69, 79
    master - mean (73ms)  : 70, 75

    section Bailout
    This PR (8436) - mean (77ms)  : 75, 79
    master - mean (79ms)  : 75, 82

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (1,080ms)  : 1032, 1128
    master - mean (1,073ms)  : 1025, 1120

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 (8436) - mean (114ms)  : 109, 120
    master - mean (113ms)  : 108, 119

    section Bailout
    This PR (8436) - mean (113ms)  : 110, 116
    master - mean (115ms)  : 110, 121

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (791ms)  : 770, 812
    master - mean (785ms)  : 763, 806

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

    section Bailout
    This PR (8436) - mean (103ms)  : 99, 108
    master - mean (100ms)  : 97, 102

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (939ms)  : 909, 969
    master - mean (939ms)  : 899, 978

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8436) - mean (101ms)  : 96, 106
    master - mean (99ms)  : 96, 102

    section Bailout
    This PR (8436) - mean (104ms)  : 99, 108
    master - mean (103ms)  : 98, 108

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (821ms)  : 790, 852
    master - mean (819ms)  : 789, 849

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 (8436) - mean (202ms)  : 197, 206
    master - mean (202ms)  : 197, 207

    section Bailout
    This PR (8436) - mean (205ms)  : 201, 209
    master - mean (206ms)  : 201, 211

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (1,183ms)  : 1133, 1233
    master - mean (1,193ms)  : 1155, 1232

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 (8436) - mean (287ms)  : 280, 295
    master - mean (293ms)  : 285, 301

    section Bailout
    This PR (8436) - mean (289ms)  : 283, 295
    master - mean (294ms)  : 289, 299

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (962ms)  : 938, 985
    master - mean (975ms)  : 946, 1003

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8436) - mean (282ms)  : 276, 289
    master - mean (287ms)  : 279, 296

    section Bailout
    This PR (8436) - mean (283ms)  : 277, 289
    master - mean (287ms)  : 279, 294

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (1,157ms)  : 1112, 1201
    master - mean (1,160ms)  : 1123, 1197

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8436) - mean (282ms)  : 275, 288
    master - mean (285ms)  : 279, 291

    section Bailout
    This PR (8436) - mean (283ms)  : 277, 288
    master - mean (285ms)  : 280, 290

    section CallTarget+Inlining+NGEN
    This PR (8436) - mean (1,043ms)  : 1003, 1083
    master - mean (1,049ms)  : 1009, 1089

Loading

@andrewlock andrewlock force-pushed the andrew/client-side-stats/update-processing-pipeline branch 2 times, most recently from a99ae1b to bf1d86f Compare April 10, 2026 07:20
@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 10, 2026

Benchmarks

Benchmark execution time: 2026-04-16 09:05:38

Comparing candidate commit 1783517 in PR branch andrew/client-side-stats/update-processing-pipeline with baseline commit b176976 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 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 ----------------------------------'

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 [-1027.027µs; -104.423µs] or [-0.510%; -0.052%]
  • ignore throughput [-333.642op/s; +75.366op/s] or [-0.396%; +0.089%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1660.872µs; +1842.838µs] or [-0.829%; +0.919%]
  • 🟩 throughput [+8898.475op/s; +11176.655op/s] or [+7.480%; +9.394%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [-15.806ms; -2.347ms] or [-7.950%; -1.180%]
  • ignore throughput [-565.028op/s; +611.976op/s] or [-0.575%; +0.622%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+8 bytes; +9 bytes] or [+0.266%; +0.279%]
  • 🟥 execution_time [+304.382ms; +306.508ms] or [+151.045%; +152.100%]
  • ignore throughput [+10.344op/s; +14.311op/s] or [+1.861%; +2.575%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+383.594ms; +387.138ms] or [+303.063%; +305.863%]
  • ignore throughput [+12.544op/s; +14.474op/s] or [+1.654%; +1.908%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+396.096ms; +398.187ms] or [+350.530%; +352.380%]
  • ignore throughput [-4.808op/s; +0.154op/s] or [-0.679%; +0.022%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [-81.355µs; +520.583µs] or [-0.041%; +0.260%]
  • ignore throughput [-4334.337op/s; -3942.763op/s] or [-3.372%; -3.068%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-16.080ms; -11.892ms] or [-7.510%; -5.554%]
  • ignore throughput [+5139.788op/s; +7967.349op/s] or [+3.752%; +5.816%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-10.218ms; -6.041ms] or [-4.866%; -2.876%]
  • ignore throughput [-1223.962op/s; +1084.023op/s] or [-1.107%; +0.980%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-897.579µs; -383.190µs] or [-0.447%; -0.191%]
  • 🟥 throughput [-243320.842op/s; -240860.134op/s] or [-24.844%; -24.593%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-25.977ms; -21.112ms] or [-11.585%; -9.415%]
  • ignore throughput [-62994.602op/s; -40155.025op/s] or [-6.730%; -4.290%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-0.966ms; +3.278ms] or [-0.482%; +1.636%]
  • 🟥 throughput [-141607.310op/s; -125642.452op/s] or [-20.346%; -18.052%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-1012.377µs; +23.538µs] or [-0.505%; +0.012%]
  • ignore throughput [-298.430op/s; +517.262op/s] or [-0.201%; +0.348%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [+0.493ms; +3.969ms] or [+0.249%; +2.002%]
  • 🟩 throughput [+10286.381op/s; +13296.098op/s] or [+6.545%; +8.460%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+2.910ms; +6.918ms] or [+1.484%; +3.527%]
  • 🟩 throughput [+6949.133op/s; +9575.928op/s] or [+5.536%; +7.628%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-279.803µs; +212.897µs] or [-0.140%; +0.106%]
  • ignore throughput [-21653.342op/s; +19847.211op/s] or [-0.659%; +0.604%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.244ms; -1.578ms] or [-1.109%; -0.780%]
  • 🟩 throughput [+453423.796op/s; +466253.383op/s] or [+15.119%; +15.547%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.566ms; -14.221ms] or [-8.558%; -6.556%]
  • 🟩 throughput [+213178.497op/s; +268087.373op/s] or [+8.462%; +10.641%]

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

  • ignore allocated_mem [+0 bytes; +2 bytes] or [-0.001%; +0.007%]
  • 🟥 execution_time [+299.993ms; +300.495ms] or [+149.896%; +150.147%]
  • ignore throughput [+84.405op/s; +110.744op/s] or [+0.932%; +1.223%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+298.645ms; +301.977ms] or [+150.607%; +152.288%]
  • ignore throughput [+330.393op/s; +540.934op/s] or [+2.527%; +4.137%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.440ms; +301.925ms] or [+150.834%; +152.086%]
  • ignore throughput [+139.917op/s; +266.373op/s] or [+1.351%; +2.572%]

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

  • ignore allocated_mem [+5 bytes; +6 bytes] or [+0.277%; +0.290%]
  • 🟥 execution_time [+298.350ms; +299.257ms] or [+146.538%; +146.983%]
  • ignore throughput [+1.323op/s; +8.587op/s] or [+0.035%; +0.228%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+293.622ms; +296.010ms] or [+143.541%; +144.708%]
  • ignore throughput [+47.487op/s; +137.828op/s] or [+0.690%; +2.002%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+302.355ms; +304.200ms] or [+151.117%; +152.039%]
  • ignore throughput [+20.123op/s; +51.175op/s] or [+0.399%; +1.016%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+16.491µs; +22.393µs] or [+3.386%; +4.598%]
  • ignore throughput [-89.100op/s; -66.033op/s] or [-4.340%; -3.216%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • 🟥 execution_time [+36.103µs; +63.154µs] or [+8.280%; +14.485%]
  • 🟥 throughput [-300.136op/s; -178.889op/s] or [-13.049%; -7.777%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+17.834µs; +40.074µs] or [+3.821%; +8.586%]
  • ignore throughput [-189.047op/s; -107.057op/s] or [-8.727%; -4.942%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+10.920µs; +15.322µs] or [+2.948%; +4.137%]
  • ignore throughput [-107.034op/s; -76.196op/s] or [-3.964%; -2.822%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+31.057µs; +54.844µs] or [+9.915%; +17.509%]
  • 🟥 throughput [-498.510op/s; -298.569op/s] or [-15.540%; -9.307%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-10.164µs; +12.384µs] or [-2.781%; +3.388%]
  • ignore throughput [-125.400op/s; +9.637op/s] or [-4.500%; +0.346%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.186ms; +300.841ms] or [+149.824%; +150.150%]
  • ignore throughput [-1626013.578op/s; -1061488.094op/s] or [-0.814%; -0.532%]

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

  • ignore allocated_mem [+74 bytes; +76 bytes] or [+0.415%; +0.426%]
  • unstable execution_time [+300.235ms; +355.290ms] or [+326.217%; +386.037%]
  • 🟩 throughput [+1128.355op/s; +1287.080op/s] or [+9.272%; +10.576%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+331.975ms; +360.478ms] or [+252.066%; +273.708%]
  • 🟩 throughput [+733.323op/s; +933.031op/s] or [+7.099%; +9.032%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.805KB; +2.810KB] or [+4.984%; +4.992%]
  • unstable execution_time [+366.153ms; +427.197ms] or [+168.353%; +196.421%]
  • 🟥 throughput [-487.469op/s; -435.553op/s] or [-44.169%; -39.465%]

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

  • ignore allocated_mem [-1.271KB; -1.268KB] or [-2.998%; -2.992%]
  • unstable execution_time [+204.215ms; +337.427ms] or [+87.028%; +143.797%]
  • 🟥 throughput [-743.320op/s; -659.889op/s] or [-49.580%; -44.015%]

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

  • ignore allocated_mem [+2.021KB; +2.024KB] or [+4.771%; +4.778%]
  • 🟥 execution_time [+329.705ms; +339.281ms] or [+197.202%; +202.929%]
  • 🟥 throughput [-400.300op/s; -365.536op/s] or [-27.872%; -25.452%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-88.539µs; -73.376µs] or [-4.456%; -3.693%]
  • ignore throughput [+19.505op/s; +23.639op/s] or [+3.876%; +4.697%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-36.856µs; -22.979µs] or [-2.532%; -1.579%]
  • ignore throughput [+11.422op/s; +18.137op/s] or [+1.663%; +2.640%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-104.548µs; -94.528µs] or [-3.637%; -3.289%]
  • ignore throughput [+11.862op/s; +13.150op/s] or [+3.410%; +3.780%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-5849.099ns; +4183.765ns] or [-0.505%; +0.361%]
  • ignore throughput [-2.697op/s; +4.676op/s] or [-0.312%; +0.541%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-82.963µs; -50.079µs] or [-7.694%; -4.645%]
  • 🟩 throughput [+49.666op/s; +88.073op/s] or [+5.355%; +9.496%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-14.470µs; +34.474µs] or [-0.775%; +1.847%]
  • ignore throughput [-12.625op/s; +16.207op/s] or [-2.356%; +3.025%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-7.954µs; +3.480µs] or [-0.311%; +0.136%]
  • ignore throughput [-0.481op/s; +1.256op/s] or [-0.123%; +0.322%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-129.193µs; -85.937µs] or [-6.544%; -4.353%]
  • 🟩 throughput [+25.338op/s; +36.303op/s] or [+5.002%; +7.167%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-76.287µs; -29.817µs] or [-1.935%; -0.756%]
  • ignore throughput [+2.209op/s; +5.157op/s] or [+0.871%; +2.033%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+302.674ms; +304.151ms] or [+152.421%; +153.165%]
  • ignore throughput [+285.287op/s; +1673.583op/s] or [+0.092%; +0.539%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.347ms; +302.780ms] or [+151.005%; +151.724%]
  • ignore throughput [+20628.457op/s; +24712.543op/s] or [+3.252%; +3.896%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.153ms; +304.653ms] or [+151.287%; +153.045%]
  • ignore throughput [+10330.816op/s; +17743.994op/s] or [+2.176%; +3.738%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+301.073ms; +302.623ms] or [+151.189%; +151.967%]
  • ignore throughput [+11104.959op/s; +12744.085op/s] or [+3.720%; +4.269%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+298.998ms; +301.060ms] or [+147.841%; +148.861%]
  • ignore throughput [+361.841op/s; +7197.957op/s] or [+0.058%; +1.160%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+304.899ms; +308.515ms] or [+154.536%; +156.369%]
  • ignore throughput [-6594.427op/s; +2379.184op/s] or [-1.424%; +0.514%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+298.616ms; +300.411ms] or [+149.878%; +150.779%]
  • ignore throughput [+8052.695op/s; +10958.046op/s] or [+2.089%; +2.843%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+299.375ms; +301.321ms] or [+149.211%; +150.181%]
  • 🟩 throughput [+58558.520op/s; +63151.254op/s] or [+11.628%; +12.540%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.189ms; +303.017ms] or [+149.342%; +150.748%]
  • ignore throughput [-24765.785op/s; -15208.812op/s] or [-5.862%; -3.600%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-802.141µs; +65.625µs] or [-0.399%; +0.033%]
  • ignore throughput [-10554.551op/s; -9448.504op/s] or [-4.244%; -3.799%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.537ms; -12.890ms] or [-7.690%; -5.994%]
  • 🟩 throughput [+26669.256op/s; +33499.012op/s] or [+7.316%; +9.190%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-1285.101µs; +2656.267µs] or [-0.645%; +1.332%]
  • ignore throughput [+3294.798op/s; +8990.300op/s] or [+1.203%; +3.282%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • unstable execution_time [+9.932µs; +50.441µs] or [+2.453%; +12.459%]
  • ignore throughput [-264.740op/s; -60.127op/s] or [-10.653%; -2.420%]

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

  • 🟩 allocated_mem [-20.583KB; -20.562KB] or [-7.508%; -7.501%]
  • unstable execution_time [-46.075µs; +6.606µs] or [-9.107%; +1.306%]
  • ignore throughput [-12.591op/s; +172.026op/s] or [-0.628%; +8.584%]

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

  • ignore allocated_mem [-2.874KB; -2.857KB] or [-1.048%; -1.042%]
  • ignore execution_time [-55.464µs; +1.359µs] or [-9.612%; +0.236%]
  • ignore throughput [+10.686op/s; +165.373op/s] or [+0.610%; +9.448%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+194.550ns; +1662.117ns] or [+0.337%; +2.879%]
  • ignore throughput [-467.214op/s; -52.680op/s] or [-2.696%; -0.304%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+6.577µs; +10.640µs] or [+15.546%; +25.149%]
  • 🟥 throughput [-4802.331op/s; -3028.331op/s] or [-20.216%; -12.748%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-13.612µs; -6.396µs] or [-21.118%; -9.923%]
  • 🟩 throughput [+1616.964op/s; +3135.908op/s] or [+9.921%; +19.240%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+302.450ms; +303.544ms] or [+152.875%; +153.428%]
  • ignore throughput [-135.427op/s; -114.934op/s] or [-2.263%; -1.920%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+302.929ms; +305.011ms] or [+154.190%; +155.250%]
  • ignore throughput [-71.394op/s; +4.225op/s] or [-0.885%; +0.052%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+300.231ms; +302.397ms] or [+150.303%; +151.387%]
  • ignore throughput [-153.816op/s; -87.237op/s] or [-1.959%; -1.111%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+2.712µs; +610.616µs] or [+0.001%; +0.304%]
  • ignore throughput [-10578.375op/s; -9080.525op/s] or [-2.928%; -2.514%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-247.764µs; +441.384µs] or [-0.124%; +0.221%]
  • 🟩 throughput [+38180.194op/s; +42489.525op/s] or [+7.227%; +8.042%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.582ms; +5.239ms] or [+0.802%; +2.656%]
  • ignore throughput [-16303.289op/s; -5352.414op/s] or [-3.858%; -1.267%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+299.576ms; +301.332ms] or [+149.312%; +150.187%]
  • ignore throughput [+2104.547op/s; +3079.031op/s] or [+1.390%; +2.033%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+300.340ms; +305.599ms] or [+150.816%; +153.457%]
  • ignore throughput [+5663.768op/s; +7861.608op/s] or [+2.463%; +3.419%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+302.816ms; +304.881ms] or [+153.569%; +154.616%]
  • ignore throughput [+2698.455op/s; +4775.718op/s] or [+1.520%; +2.690%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.813ms; +300.411ms] or [+149.548%; +149.847%]
  • 🟩 throughput [+61309818.153op/s; +61567935.623op/s] or [+44.650%; +44.838%]

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

  • ignore allocated_mem [+80 bytes; +82 bytes] or [+0.472%; +0.481%]
  • unstable execution_time [+374.652ms; +408.486ms] or [+465.946%; +508.025%]
  • 🟩 throughput [+952.865op/s; +1125.619op/s] or [+7.366%; +8.702%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.777ms; +300.719ms] or [+149.522%; +149.992%]
  • ignore throughput [+1586978.590op/s; +2526337.891op/s] or [+0.703%; +1.119%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-14.126µs; +722.323µs] or [-0.007%; +0.361%]
  • ignore throughput [+3900.214op/s; +7764.595op/s] or [+0.435%; +0.867%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-3.755ms; -2.446ms] or [-1.839%; -1.198%]
  • 🟩 throughput [+97401.713op/s; +107985.068op/s] or [+9.094%; +10.082%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-0.563ms; +3.559ms] or [-0.285%; +1.801%]
  • 🟩 throughput [+69225.520op/s; +88378.146op/s] or [+8.013%; +10.230%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+0.968ms; +1.668ms] or [+0.484%; +0.834%]
  • ignore throughput [-9145.857op/s; -3106.892op/s] or [-0.837%; -0.284%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+5.834ms; +9.959ms] or [+3.040%; +5.189%]
  • 🟩 throughput [+88725.805op/s; +119003.513op/s] or [+6.868%; +9.211%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-5.156ms; -3.544ms] or [-2.533%; -1.741%]
  • 🟩 throughput [+92940.750op/s; +101344.268op/s] or [+9.231%; +10.065%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-2.304ms; -0.933ms] or [-1.147%; -0.465%]
  • ignore throughput [+13525.913op/s; +16833.418op/s] or [+3.014%; +3.751%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-656.169µs; +862.522µs] or [-0.328%; +0.431%]
  • 🟩 throughput [+49453.400op/s; +55002.211op/s] or [+8.980%; +9.987%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-2052.019µs; +2060.963µs] or [-1.031%; +1.036%]
  • 🟩 throughput [+26280.821op/s; +35927.493op/s] or [+5.883%; +8.042%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-992.154µs; +82.556µs] or [-0.494%; +0.041%]
  • ignore throughput [-10893.237op/s; -6487.816op/s] or [-1.594%; -0.950%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1623.205µs; +1886.196µs] or [-0.812%; +0.943%]
  • ignore throughput [+38226.975op/s; +55149.432op/s] or [+4.271%; +6.162%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.071ms; +4.975ms] or [+0.544%; +2.527%]
  • ignore throughput [+29905.570op/s; +44516.063op/s] or [+4.176%; +6.216%]

@andrewlock andrewlock marked this pull request as ready for review April 10, 2026 09:07
@andrewlock andrewlock requested review from a team as code owners April 10, 2026 09:07
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3179a17d78

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracer/src/Datadog.Trace/Agent/StatsAggregator.cs Outdated
Comment thread tracer/src/Datadog.Trace/Agent/AgentWriter.cs Outdated
@andrewlock andrewlock marked this pull request as draft April 10, 2026 09:20
@andrewlock andrewlock force-pushed the andrew/client-side-stats/update-processing-pipeline branch from 3179a17 to 2a9f4b3 Compare April 10, 2026 12:29
@andrewlock andrewlock force-pushed the andrew/client-side-stats/refactor-trace-chunk-model branch from efd496f to bda5853 Compare April 10, 2026 12:29
@andrewlock andrewlock marked this pull request as ready for review April 10, 2026 12:30
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a9f4b3577

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tracer/src/Datadog.Trace/Agent/AgentWriter.cs Outdated
Comment thread tracer/src/Datadog.Trace/Agent/AgentWriter.cs Outdated
Comment thread tracer/src/Datadog.Trace/Agent/TraceKeepState.cs Outdated
@lucaspimentel lucaspimentel requested a review from a team April 13, 2026 18:39
@andrewlock andrewlock force-pushed the andrew/client-side-stats/update-processing-pipeline branch from 2a9f4b3 to 2106339 Compare April 14, 2026 10:08
@andrewlock andrewlock requested review from a team as code owners April 14, 2026 10:08
@andrewlock andrewlock force-pushed the andrew/client-side-stats/refactor-trace-chunk-model branch from bda5853 to 682df90 Compare April 14, 2026 10:08
Comment thread tracer/src/Datadog.Trace/Telemetry/Metrics/MetricTags.cs
Comment thread tracer/src/Datadog.Trace/Agent/TraceKeepState.cs
Comment thread tracer/test/Datadog.Trace.Tests/Agent/StatsAggregatorTests.cs Outdated
Comment thread tracer/test/Datadog.Trace.Tests/Agent/StatsAggregatorTests.cs
Comment thread tracer/test/Datadog.Trace.Tests/Agent/StatsAggregatorTests.cs
Copy link
Copy Markdown
Contributor

@zacharycmontoya zacharycmontoya left a comment

Choose a reason for hiding this comment

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

LGTM with some small comments!

@andrewlock andrewlock force-pushed the andrew/client-side-stats/update-processing-pipeline branch from 2106339 to 1783517 Compare April 16, 2026 07:59
@andrewlock andrewlock requested review from a team as code owners April 16, 2026 07:59
@andrewlock andrewlock force-pushed the andrew/client-side-stats/refactor-trace-chunk-model branch from 682df90 to bcf6c7a Compare April 16, 2026 07:59
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) type:refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants