Skip to content

Allow passing an offset and count to FnvHash64.GenerateHash()#8444

Open
andrewlock wants to merge 1 commit intoandrew/client-side-stats/update-processing-pipelinefrom
andrew/client-side-stats/fnvhash
Open

Allow passing an offset and count to FnvHash64.GenerateHash()#8444
andrewlock wants to merge 1 commit intoandrew/client-side-stats/update-processing-pipelinefrom
andrew/client-side-stats/fnvhash

Conversation

@andrewlock
Copy link
Copy Markdown
Member

Summary of changes

Allow passing an offset and count to FnvHash64.GenerateHash()

Reason for change

Let's us hash values stored in a byte[] that comes from an array pool, instead of requiring hashing the whole byte[]. Allows for various optimizations in places.

Implementation details

  • Add a new overload that takes int offset, int count values
  • Update existing byte[] to use the overload
  • Add unit tests for checking the new behaviour. Existing is already covered

Test coverage

Added unit tests to cover the new behaviour

Other details

Part of a stack:

@andrewlock andrewlock added the area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) label Apr 13, 2026
@andrewlock andrewlock requested a review from a team as a code owner April 13, 2026 11:36
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: e94c3c9c6e

ℹ️ 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 on lines +145 to +146
var max = offset + count;
for (var i = offset; i < max; i++)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Validate offset/count before hashing region

The new GenerateHash(byte[], int offset, int count, ...) path never validates range arguments before iterating, and max = offset + count can lead to silent wrong results for invalid inputs (for example, a negative count makes the loop a no-op and returns initialHash instead of failing). This regression only occurs when callers provide out-of-range values, but in that case it masks slicing bugs and can produce incorrect hashes without any exception; add explicit checks for offset >= 0, count >= 0, and offset + count <= data.Length before hashing.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

meh

@dd-trace-dotnet-ci-bot
Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8444) 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
duration71.39 ± (71.35 - 71.69) ms71.23 ± (71.24 - 71.64) ms-0.2%
.NET Framework 4.8 - Bailout
duration75.97 ± (75.92 - 76.25) ms75.02 ± (74.87 - 75.18) ms-1.3%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1062.42 ± (1063.05 - 1069.02) ms1064.56 ± (1063.92 - 1069.53) ms+0.2%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.14 ± (22.10 - 22.18) ms22.07 ± (22.03 - 22.10) ms-0.3%
process.time_to_main_ms82.69 ± (82.50 - 82.87) ms82.81 ± (82.63 - 82.99) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.92 ± (10.91 - 10.92) MB10.93 ± (10.92 - 10.93) MB+0.1%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.13 ± (22.10 - 22.17) ms21.99 ± (21.96 - 22.03) ms-0.6%
process.time_to_main_ms84.10 ± (83.88 - 84.31) ms83.87 ± (83.69 - 84.05) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.95 - 10.96) MB10.95 ± (10.95 - 10.96) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms225.34 ± (224.22 - 226.47) ms227.09 ± (226.10 - 228.08) ms+0.8%✅⬆️
process.time_to_main_ms518.49 ± (517.34 - 519.63) ms518.92 ± (517.84 - 519.99) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.46 ± (48.43 - 48.49) MB48.47 ± (48.45 - 48.50) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.99 ± (20.96 - 21.03) ms20.92 ± (20.90 - 20.95) ms-0.3%
process.time_to_main_ms72.20 ± (72.02 - 72.37) ms71.98 ± (71.82 - 72.15) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.63 ± (10.62 - 10.63) MB-0.0%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.81 ± (20.79 - 20.84) ms20.78 ± (20.74 - 20.81) ms-0.2%
process.time_to_main_ms72.29 ± (72.12 - 72.45) ms72.66 ± (72.50 - 72.82) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.73) 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.26 ± (382.35 - 386.17) ms386.62 ± (384.23 - 389.02) ms+0.6%✅⬆️
process.time_to_main_ms519.43 ± (518.52 - 520.33) ms518.01 ± (517.05 - 518.97) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.91 ± (49.88 - 49.94) MB50.11 ± (50.09 - 50.14) MB+0.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.17 ± (19.14 - 19.20) ms19.11 ± (19.08 - 19.14) ms-0.3%
process.time_to_main_ms71.18 ± (71.04 - 71.32) ms71.00 ± (70.85 - 71.15) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.66 ± (7.65 - 7.67) MB-0.6%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.01 ± (18.98 - 19.05) ms19.23 ± (19.20 - 19.26) ms+1.1%✅⬆️
process.time_to_main_ms71.92 ± (71.77 - 72.07) ms72.08 ± (71.91 - 72.25) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.74 - 7.75) MB7.71 ± (7.71 - 7.72) MB-0.4%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms305.31 ± (303.20 - 307.41) ms305.30 ± (303.43 - 307.17) ms-0.0%
process.time_to_main_ms476.74 ± (475.90 - 477.57) ms479.47 ± (478.76 - 480.17) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.08 ± (37.06 - 37.10) MB37.39 ± (37.32 - 37.46) MB+0.8%✅⬆️
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
duration190.88 ± (190.80 - 191.52) ms198.13 ± (197.71 - 198.69) ms+3.8%✅⬆️
.NET Framework 4.8 - Bailout
duration194.55 ± (194.52 - 194.87) ms201.29 ± (201.06 - 201.61) ms+3.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1136.55 ± (1137.88 - 1143.80) ms1170.17 ± (1170.68 - 1177.77) ms+3.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms185.18 ± (184.88 - 185.48) ms192.42 ± (192.04 - 192.79) ms+3.9%✅⬆️
process.time_to_main_ms79.73 ± (79.57 - 79.88) ms83.17 ± (82.96 - 83.38) ms+4.3%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.10 - 16.15) MB16.06 ± (16.04 - 16.08) MB-0.4%
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.1%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms184.85 ± (184.65 - 185.04) ms192.18 ± (191.84 - 192.51) ms+4.0%✅⬆️
process.time_to_main_ms81.05 ± (80.95 - 81.15) ms84.49 ± (84.35 - 84.62) ms+4.2%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.10 - 16.20) MB16.10 ± (16.08 - 16.13) MB-0.3%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms391.78 ± (390.52 - 393.03) ms401.10 ± (399.84 - 402.36) ms+2.4%✅⬆️
process.time_to_main_ms505.19 ± (504.19 - 506.20) ms523.76 ± (522.66 - 524.87) ms+3.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.71 ± (58.50 - 58.91) MB59.19 ± (59.11 - 59.27) MB+0.8%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms190.44 ± (190.13 - 190.75) ms197.82 ± (197.40 - 198.24) ms+3.9%✅⬆️
process.time_to_main_ms69.75 ± (69.60 - 69.91) ms72.41 ± (72.18 - 72.64) ms+3.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.93 ± (15.76 - 16.11) MB16.33 ± (16.30 - 16.35) MB+2.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)19 ± (19 - 19)+7.2%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms189.27 ± (189.05 - 189.49) ms197.47 ± (197.17 - 197.76) ms+4.3%✅⬆️
process.time_to_main_ms70.60 ± (70.53 - 70.67) ms73.50 ± (73.34 - 73.66) ms+4.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed15.92 ± (15.75 - 16.09) MB16.34 ± (16.32 - 16.37) MB+2.7%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+7.1%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms598.10 ± (595.54 - 600.66) ms598.30 ± (595.81 - 600.78) ms+0.0%✅⬆️
process.time_to_main_ms508.25 ± (507.47 - 509.02) ms524.04 ± (522.94 - 525.13) ms+3.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.49 ± (61.39 - 61.59) MB61.54 ± (61.44 - 61.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
.NET 8 - Baseline
process.internal_duration_ms187.58 ± (187.30 - 187.86) ms195.18 ± (194.81 - 195.55) ms+4.1%✅⬆️
process.time_to_main_ms69.00 ± (68.86 - 69.13) ms72.14 ± (71.96 - 72.32) ms+4.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.77 ± (11.75 - 11.80) MB11.81 ± (11.79 - 11.84) MB+0.3%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.8%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms186.96 ± (186.71 - 187.20) ms193.64 ± (193.40 - 193.88) ms+3.6%✅⬆️
process.time_to_main_ms70.09 ± (70.01 - 70.17) ms72.58 ± (72.45 - 72.71) ms+3.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.60 ± (11.49 - 11.72) MB11.85 ± (11.84 - 11.86) MB+2.1%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (19 - 19)+4.8%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms516.44 ± (513.77 - 519.11) ms522.32 ± (519.44 - 525.20) ms+1.1%✅⬆️
process.time_to_main_ms468.89 ± (468.23 - 469.55) ms480.83 ± (480.14 - 481.52) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.68 ± (50.65 - 50.71) MB50.88 ± (50.84 - 50.91) MB+0.4%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
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 (8444) - mean (71ms)  : 68, 74
    master - mean (72ms)  : 69, 74

    section Bailout
    This PR (8444) - mean (75ms)  : 73, 77
    master - mean (76ms)  : 75, 78

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (1,067ms)  : 1026, 1107
    master - mean (1,066ms)  : 1023, 1110

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 (8444) - mean (111ms)  : 108, 115
    master - mean (111ms)  : 108, 115

    section Bailout
    This PR (8444) - mean (112ms)  : 110, 114
    master - mean (113ms)  : 110, 116

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (780ms)  : 753, 807
    master - mean (783ms)  : 763, 803

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

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

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (932ms)  : 893, 972
    master - mean (931ms)  : 903, 960

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8444) - mean (98ms)  : 95, 101
    master - mean (98ms)  : 95, 101

    section Bailout
    This PR (8444) - mean (99ms)  : 96, 101
    master - mean (98ms)  : 96, 100

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (816ms)  : 782, 850
    master - mean (811ms)  : 778, 844

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 (8444) - mean (198ms)  : 193, 203
    master - mean (191ms)  : 188, 195

    section Bailout
    This PR (8444) - mean (201ms)  : 199, 204
    master - mean (195ms)  : 193, 196

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (1,174ms)  : 1121, 1228
    master - mean (1,141ms)  : 1097, 1185

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 (8444) - mean (285ms)  : 279, 290
    master - mean (273ms)  : 269, 277

    section Bailout
    This PR (8444) - mean (285ms)  : 281, 290
    master - mean (274ms)  : 271, 277

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (953ms)  : 916, 990
    master - mean (925ms)  : 905, 944

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8444) - mean (279ms)  : 272, 286
    master - mean (268ms)  : 265, 272

    section Bailout
    This PR (8444) - mean (279ms)  : 275, 284
    master - mean (268ms)  : 265, 270

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (1,153ms)  : 1116, 1189
    master - mean (1,136ms)  : 1093, 1179

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8444) - mean (277ms)  : 272, 283
    master - mean (267ms)  : 262, 271

    section Bailout
    This PR (8444) - mean (276ms)  : 273, 279
    master - mean (266ms)  : 263, 270

    section CallTarget+Inlining+NGEN
    This PR (8444) - mean (1,036ms)  : 985, 1087
    master - mean (1,018ms)  : 979, 1058

Loading

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 13, 2026

Benchmarks

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

Comparing candidate commit 25dabec in PR branch andrew/client-side-stats/fnvhash with baseline commit b176976 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 [-4756.958op/s; -4548.440op/s] or [-5.430%; -5.192%]

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 [-1311.580µs; -376.190µs] or [-0.652%; -0.187%]
  • ignore throughput [-11.470op/s; +466.292op/s] or [-0.014%; +0.553%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-2070.835µs; +1426.252µs] or [-1.033%; +0.712%]
  • 🟩 throughput [+9586.660op/s; +11742.975op/s] or [+8.058%; +9.870%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [-0.064ms; +2.196ms] or [-0.032%; +1.104%]
  • ignore throughput [-1096.348op/s; +299.107op/s] or [-1.115%; +0.304%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+28 bytes; +29 bytes] or [+0.877%; +0.890%]
  • 🟥 execution_time [+306.294ms; +308.473ms] or [+151.994%; +153.075%]
  • ignore throughput [+8.167op/s; +12.164op/s] or [+1.469%; +2.189%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+385.991ms; +388.824ms] or [+304.957%; +307.194%]
  • ignore throughput [+9.328op/s; +11.477op/s] or [+1.230%; +1.513%]

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

  • ignore allocated_mem [+1 bytes; +2 bytes] or [+0.065%; +0.075%]
  • 🟥 execution_time [+401.473ms; +402.421ms] or [+355.288%; +356.128%]
  • ignore throughput [+5.552op/s; +7.803op/s] or [+0.784%; +1.102%]

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

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [+62.656µs; +694.862µs] or [+0.031%; +0.347%]
  • ignore throughput [-4044.925op/s; -3639.517op/s] or [-3.147%; -2.832%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.668ms; -11.502ms] or [-7.318%; -5.372%]
  • ignore throughput [+4870.426op/s; +7659.288op/s] or [+3.555%; +5.591%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-10.343ms; -6.207ms] or [-4.925%; -2.956%]
  • ignore throughput [-693.775op/s; +1577.011op/s] or [-0.627%; +1.426%]

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

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-931.874µs; -406.297µs] or [-0.464%; -0.202%]
  • 🟥 throughput [-246802.822op/s; -243934.827op/s] or [-25.200%; -24.907%]

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

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.428ms; -21.563ms] or [-11.786%; -9.616%]
  • ignore throughput [-56947.007op/s; -33555.653op/s] or [-6.084%; -3.585%]

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

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-0.584ms; +3.653ms] or [-0.291%; +1.823%]
  • 🟥 throughput [-134685.146op/s; -118723.339op/s] or [-19.352%; -17.058%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-779.826µs; +310.523µs] or [-0.389%; +0.155%]
  • ignore throughput [-676.561op/s; +162.416op/s] or [-0.455%; +0.109%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1103.257µs; +2397.955µs] or [-0.557%; +1.210%]
  • 🟩 throughput [+9705.679op/s; +12691.757op/s] or [+6.176%; +8.076%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+2.094ms; +6.074ms] or [+1.067%; +3.097%]
  • 🟩 throughput [+7480.020op/s; +10128.516op/s] or [+5.959%; +8.069%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-268.404µs; -61.864µs] or [-0.134%; -0.031%]
  • ignore throughput [+46065.916op/s; +59747.897op/s] or [+1.401%; +1.818%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.479ms; -1.695ms] or [-1.225%; -0.838%]
  • 🟩 throughput [+453436.311op/s; +470012.050op/s] or [+15.120%; +15.672%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.754ms; -14.372ms] or [-8.645%; -6.625%]
  • 🟩 throughput [+218644.718op/s; +273141.244op/s] or [+8.679%; +10.842%]

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

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+299.934ms; +300.538ms] or [+149.867%; +150.169%]
  • ignore throughput [+137.296op/s; +167.024op/s] or [+1.516%; +1.845%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.107ms; +302.287ms] or [+150.840%; +152.444%]
  • ignore throughput [+348.505op/s; +558.952op/s] or [+2.666%; +4.275%]

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

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.866ms; +302.604ms] or [+151.049%; +152.428%]
  • ignore throughput [+78.772op/s; +208.821op/s] or [+0.760%; +2.016%]

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

  • ignore allocated_mem [+4 bytes; +5 bytes] or [+0.230%; +0.243%]
  • 🟥 execution_time [+296.304ms; +297.024ms] or [+145.533%; +145.886%]
  • ignore throughput [-17.999op/s; -10.112op/s] or [-0.477%; -0.268%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.927ms; +298.945ms] or [+144.668%; +146.143%]
  • ignore throughput [+54.132op/s; +104.972op/s] or [+0.786%; +1.525%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+301.056ms; +302.102ms] or [+150.467%; +150.990%]
  • ignore throughput [+42.727op/s; +62.157op/s] or [+0.848%; +1.234%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.582µs; +6.302µs] or [+0.530%; +1.294%]
  • ignore throughput [-25.980op/s; -10.632op/s] or [-1.265%; -0.518%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • 🟥 execution_time [+23.233µs; +49.988µs] or [+5.328%; +11.465%]
  • 🟥 throughput [-243.735op/s; -123.379op/s] or [-10.597%; -5.364%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+7.133µs; +29.091µs] or [+1.528%; +6.233%]
  • ignore throughput [-143.958op/s; -63.221op/s] or [-6.645%; -2.918%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-6.972µs; -3.296µs] or [-1.882%; -0.890%]
  • ignore throughput [+24.818op/s; +51.354op/s] or [+0.919%; +1.902%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+21.883µs; +45.493µs] or [+6.986%; +14.524%]
  • 🟥 throughput [-424.074op/s; -225.395op/s] or [-13.220%; -7.026%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-16.199µs; +6.151µs] or [-4.431%; +1.683%]
  • ignore throughput [-79.258op/s; +54.051op/s] or [-2.844%; +1.940%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.784ms; +300.446ms] or [+149.623%; +149.954%]
  • ignore throughput [-1586548.918op/s; -1023070.235op/s] or [-0.795%; -0.512%]

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

  • ignore allocated_mem [+116 bytes; +118 bytes] or [+0.650%; +0.661%]
  • unstable execution_time [+369.801ms; +406.537ms] or [+401.804%; +441.719%]
  • 🟩 throughput [+1146.982op/s; +1284.036op/s] or [+9.425%; +10.551%]

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

  • ignore allocated_mem [+20 bytes; +22 bytes] or [+0.099%; +0.110%]
  • unstable execution_time [+303.087ms; +341.196ms] or [+230.131%; +259.067%]
  • 🟩 throughput [+718.550op/s; +919.818op/s] or [+6.956%; +8.904%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.775KB; +2.780KB] or [+4.931%; +4.939%]
  • unstable execution_time [+366.189ms; +441.503ms] or [+168.370%; +202.999%]
  • 🟥 throughput [-567.677op/s; -506.039op/s] or [-51.437%; -45.852%]

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

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+201.299ms; +334.500ms] or [+85.785%; +142.550%]
  • 🟥 throughput [-744.982op/s; -661.558op/s] or [-49.691%; -44.126%]

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

  • ignore allocated_mem [+1.092KB; +1.095KB] or [+2.577%; +2.585%]
  • 🟥 execution_time [+343.020ms; +353.344ms] or [+205.166%; +211.341%]
  • 🟥 throughput [-409.543op/s; -374.256op/s] or [-28.516%; -26.059%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-81.242µs; -57.909µs] or [-4.088%; -2.914%]
  • ignore throughput [+15.648op/s; +21.811op/s] or [+3.109%; +4.334%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-53.541µs; -39.536µs] or [-3.678%; -2.716%]
  • ignore throughput [+19.640op/s; +26.501op/s] or [+2.859%; +3.858%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-103.252µs; -92.818µs] or [-3.592%; -3.229%]
  • ignore throughput [+11.640op/s; +12.988op/s] or [+3.346%; +3.733%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-11.961µs; -6.041µs] or [-1.033%; -0.522%]
  • ignore throughput [+4.652op/s; +9.087op/s] or [+0.539%; +1.052%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-47.200µs; -12.804µs] or [-4.378%; -1.188%]
  • ignore throughput [+16.123op/s; +51.458op/s] or [+1.738%; +5.548%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+36.727µs; +50.679µs] or [+1.968%; +2.715%]
  • ignore throughput [-14.072op/s; -10.180op/s] or [-2.627%; -1.900%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+11.514µs; +36.677µs] or [+0.450%; +1.433%]
  • ignore throughput [-5.256op/s; -1.575op/s] or [-1.346%; -0.403%]

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

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-160.220µs; -113.232µs] or [-8.116%; -5.736%]
  • 🟩 throughput [+33.436op/s; +46.108op/s] or [+6.600%; +9.102%]

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

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-120.430µs; -81.406µs] or [-3.054%; -2.064%]
  • ignore throughput [+5.582op/s; +8.059op/s] or [+2.201%; +3.178%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+301.826ms; +303.368ms] or [+151.994%; +152.770%]
  • ignore throughput [-2421.485op/s; -865.483op/s] or [-0.779%; -0.278%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.148ms; +304.240ms] or [+151.407%; +152.455%]
  • ignore throughput [+22441.468op/s; +27147.426op/s] or [+3.538%; +4.280%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.413ms; +304.408ms] or [+151.417%; +152.922%]
  • ignore throughput [+12719.421op/s; +20506.942op/s] or [+2.679%; +4.320%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+300.688ms; +302.230ms] or [+150.996%; +151.770%]
  • ignore throughput [+5319.080op/s; +6833.675op/s] or [+1.782%; +2.289%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+300.167ms; +301.944ms] or [+148.419%; +149.298%]
  • ignore throughput [+5666.656op/s; +10412.911op/s] or [+0.913%; +1.678%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+301.317ms; +304.964ms] or [+152.721%; +154.569%]
  • ignore throughput [-1600.827op/s; +7152.242op/s] or [-0.346%; +1.544%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.294ms; +301.747ms] or [+150.720%; +151.450%]
  • ignore throughput [+6728.342op/s; +8890.170op/s] or [+1.745%; +2.306%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.894ms; +302.710ms] or [+149.968%; +150.873%]
  • 🟩 throughput [+54223.799op/s; +58883.765op/s] or [+10.767%; +11.692%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+301.872ms; +304.863ms] or [+150.179%; +151.667%]
  • ignore throughput [-9941.303op/s; -4546.992op/s] or [-2.353%; -1.076%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1303.732µs; -408.808µs] or [-0.648%; -0.203%]
  • ignore throughput [-4468.459op/s; -3387.832op/s] or [-1.797%; -1.362%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.091ms; -12.427ms] or [-7.483%; -5.779%]
  • 🟩 throughput [+27129.877op/s; +33658.480op/s] or [+7.442%; +9.233%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.979ms; +2.997ms] or [-0.491%; +1.503%]
  • ignore throughput [+3178.712op/s; +8877.105op/s] or [+1.160%; +3.240%]

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

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+9.102µs; +49.075µs] or [+2.248%; +12.122%]
  • ignore throughput [-260.567op/s; -57.580op/s] or [-10.486%; -2.317%]

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

  • 🟩 allocated_mem [-18.839KB; -18.819KB] or [-6.872%; -6.865%]
  • unstable execution_time [-43.813µs; +8.348µs] or [-8.659%; +1.650%]
  • ignore throughput [-22.842op/s; +159.049op/s] or [-1.140%; +7.937%]

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

  • 🟩 allocated_mem [-15.104KB; -15.087KB] or [-5.506%; -5.500%]
  • ignore execution_time [-47.266µs; +10.233µs] or [-8.191%; +1.773%]
  • ignore throughput [-15.824op/s; +141.820op/s] or [-0.904%; +8.102%]

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

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-217.531ns; +1254.197ns] or [-0.377%; +2.173%]
  • ignore throughput [-347.130op/s; +68.167op/s] or [-2.003%; +0.393%]

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

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+7.016µs; +10.984µs] or [+16.585%; +25.963%]
  • 🟥 throughput [-4973.913op/s; -3226.912op/s] or [-20.939%; -13.584%]

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

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-14.244µs; -6.850µs] or [-22.099%; -10.628%]
  • 🟩 throughput [+1843.150op/s; +3377.159op/s] or [+11.308%; +20.720%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+302.555ms; +303.519ms] or [+152.928%; +153.415%]
  • ignore throughput [-65.885op/s; -44.072op/s] or [-1.101%; -0.736%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+302.189ms; +304.219ms] or [+153.813%; +154.847%]
  • ignore throughput [-56.463op/s; +17.889op/s] or [-0.700%; +0.222%]

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

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+299.321ms; +301.144ms] or [+149.847%; +150.760%]
  • ignore throughput [-126.335op/s; -62.513op/s] or [-1.609%; -0.796%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-943.454µs; -248.065µs] or [-0.470%; -0.124%]
  • ignore throughput [-1466.528op/s; +279.401op/s] or [-0.406%; +0.077%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [+158.396µs; +892.026µs] or [+0.079%; +0.446%]
  • 🟩 throughput [+39604.741op/s; +43695.306op/s] or [+7.496%; +8.271%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.665ms; +5.350ms] or [+0.844%; +2.712%]
  • ignore throughput [+3044.235op/s; +11391.895op/s] or [+0.720%; +2.696%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+301.601ms; +303.245ms] or [+150.321%; +151.140%]
  • ignore throughput [-2930.828op/s; -1779.313op/s] or [-1.935%; -1.175%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+300.885ms; +302.241ms] or [+151.090%; +151.771%]
  • ignore throughput [+3188.333op/s; +4463.010op/s] or [+1.387%; +1.941%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+304.103ms; +306.364ms] or [+154.222%; +155.368%]
  • ignore throughput [-793.368op/s; +1176.509op/s] or [-0.447%; +0.663%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.923ms; +300.663ms] or [+149.603%; +149.972%]
  • 🟩 throughput [+61114784.468op/s; +61371537.328op/s] or [+44.508%; +44.695%]

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

  • ignore allocated_mem [+88 bytes; +90 bytes] or [+0.518%; +0.528%]
  • unstable execution_time [+312.613ms; +367.172ms] or [+388.790%; +456.644%]
  • 🟩 throughput [+997.610op/s; +1182.444op/s] or [+7.712%; +9.141%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.035ms; +299.939ms] or [+149.152%; +149.602%]
  • ignore throughput [+1790562.357op/s; +2729442.448op/s] or [+0.793%; +1.209%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+367.063µs; +688.886µs] or [+0.184%; +0.345%]
  • ignore throughput [-4254.871op/s; +2334.332op/s] or [-0.475%; +0.261%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.668ms; -3.560ms] or [-2.286%; -1.744%]
  • 🟩 throughput [+111003.269op/s; +118329.849op/s] or [+10.364%; +11.048%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-0.861ms; +3.275ms] or [-0.436%; +1.657%]
  • 🟩 throughput [+65473.844op/s; +84726.301op/s] or [+7.578%; +9.807%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+215.079µs; +947.188µs] or [+0.107%; +0.473%]
  • ignore throughput [-14211.560op/s; -9680.799op/s] or [-1.301%; -0.886%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.046ms; +10.141ms] or [+3.150%; +5.283%]
  • 🟩 throughput [+100452.335op/s; +129969.674op/s] or [+7.775%; +10.060%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-4.654ms; -3.066ms] or [-2.287%; -1.506%]
  • 🟩 throughput [+75562.103op/s; +84286.290op/s] or [+7.505%; +8.371%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1196.502µs; +79.169µs] or [-0.596%; +0.039%]
  • ignore throughput [+9035.645op/s; +11884.562op/s] or [+2.013%; +2.648%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-1478.096µs; +313.433µs] or [-0.738%; +0.157%]
  • 🟩 throughput [+52716.582op/s; +58688.801op/s] or [+9.572%; +10.657%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [-2346.909µs; +1769.155µs] or [-1.179%; +0.889%]
  • 🟩 throughput [+28102.652op/s; +37868.729op/s] or [+6.290%; +8.476%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-146.180µs; +1210.445µs] or [-0.073%; +0.603%]
  • ignore throughput [-29759.989op/s; -25227.429op/s] or [-4.356%; -3.692%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-1226.690µs; +2280.779µs] or [-0.614%; +1.141%]
  • 🟩 throughput [+53618.690op/s; +71155.778op/s] or [+5.991%; +7.950%]

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

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.076ms; +4.964ms] or [+0.547%; +2.521%]
  • ignore throughput [+30120.698op/s; +44790.284op/s] or [+4.206%; +6.254%]

@andrewlock andrewlock force-pushed the andrew/client-side-stats/fnvhash branch from e94c3c9 to 9b41576 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/update-processing-pipeline branch from 2a9f4b3 to 2106339 Compare April 14, 2026 10:08
@andrewlock andrewlock force-pushed the andrew/client-side-stats/fnvhash branch from 9b41576 to 25dabec 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/update-processing-pipeline branch from 2106339 to 1783517 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.

1 participant