Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 3, 2025

Updated System.Text.Json from 10.0.0-rc.2.25502.107 to 10.0.0.

Release notes

Sourced from System.Text.Json's releases.

No release notes found for this version range.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: System.Text.Json
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) dependencies Pull requests that update a dependency file labels Dec 3, 2025
@dependabot dependabot bot requested a review from a team as a code owner December 3, 2025 16:05
@dependabot dependabot bot added area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) dependencies Pull requests that update a dependency file labels Dec 3, 2025
@dd-trace-dotnet-ci-bot
Copy link

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (7900) 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
duration76.76 ± (76.79 - 77.67) ms75.76 ± (76.15 - 77.23) ms-1.3%
.NET Framework 4.8 - Bailout
duration79.61 ± (79.50 - 80.34) ms78.77 ± (78.74 - 79.35) ms-1.1%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1071.30 ± (1070.37 - 1079.50) ms1065.06 ± (1068.47 - 1078.60) ms-0.6%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.90 ± (22.82 - 22.98) ms22.83 ± (22.75 - 22.91) ms-0.3%
process.time_to_main_ms88.24 ± (87.79 - 88.69) ms87.31 ± (86.87 - 87.76) ms-1.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) MB10.90 ± (10.89 - 10.90) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.86 ± (22.78 - 22.93) ms22.71 ± (22.65 - 22.77) ms-0.6%
process.time_to_main_ms90.17 ± (89.67 - 90.67) ms88.32 ± (87.86 - 88.79) ms-2.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.94) MB10.94 ± (10.94 - 10.94) MB-0.0%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms220.74 ± (219.49 - 221.99) ms222.91 ± (221.76 - 224.05) ms+1.0%✅⬆️
process.time_to_main_ms501.56 ± (500.21 - 502.91) ms502.90 ± (501.47 - 504.34) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.85 ± (47.83 - 47.87) MB47.85 ± (47.83 - 47.87) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.68 ± (21.60 - 21.75) ms21.73 ± (21.65 - 21.81) ms+0.3%✅⬆️
process.time_to_main_ms76.61 ± (76.22 - 76.99) ms76.73 ± (76.28 - 77.18) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.60 ± (10.60 - 10.60) MB10.63 ± (10.63 - 10.63) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.66 ± (21.57 - 21.75) ms21.86 ± (21.79 - 21.94) ms+0.9%✅⬆️
process.time_to_main_ms77.53 ± (77.09 - 77.96) ms78.26 ± (77.81 - 78.70) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.68 ± (10.67 - 10.68) MB10.66 ± (10.66 - 10.67) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms209.90 ± (208.78 - 211.02) ms210.61 ± (209.44 - 211.78) ms+0.3%✅⬆️
process.time_to_main_ms468.62 ± (467.44 - 469.80) ms469.83 ± (468.61 - 471.05) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.07 ± (48.05 - 48.10) MB48.01 ± (47.99 - 48.04) MB-0.1%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.94 ± (19.86 - 20.01) ms19.98 ± (19.90 - 20.07) ms+0.2%✅⬆️
process.time_to_main_ms75.01 ± (74.65 - 75.38) ms75.19 ± (74.78 - 75.60) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.65 ± (7.64 - 7.66) MB7.65 ± (7.65 - 7.66) MB+0.0%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.87 ± (19.79 - 19.94) ms19.83 ± (19.77 - 19.89) ms-0.2%
process.time_to_main_ms76.20 ± (75.73 - 76.66) ms77.12 ± (76.66 - 77.58) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.70 ± (7.69 - 7.71) MB-0.3%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms196.13 ± (195.06 - 197.19) ms194.01 ± (192.98 - 195.04) ms-1.1%
process.time_to_main_ms463.42 ± (462.10 - 464.74) ms460.94 ± (459.80 - 462.08) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.54 ± (36.50 - 36.57) MB36.50 ± (36.45 - 36.54) MB-0.1%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)+0.0%✅⬆️

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration194.44 ± (194.47 - 195.38) ms194.06 ± (193.78 - 194.70) ms-0.2%
.NET Framework 4.8 - Bailout
duration199.28 ± (199.26 - 200.18) ms197.28 ± (197.08 - 197.74) ms-1.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1126.98 ± (1129.60 - 1138.39) ms1122.07 ± (1120.76 - 1128.54) ms-0.4%
.NET Core 3.1 - Baseline
process.internal_duration_ms190.96 ± (190.52 - 191.40) ms190.11 ± (189.68 - 190.55) ms-0.4%
process.time_to_main_ms81.80 ± (81.53 - 82.06) ms81.90 ± (81.64 - 82.16) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.08 ± (16.06 - 16.11) MB16.13 ± (16.11 - 16.16) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms190.33 ± (189.83 - 190.83) ms189.77 ± (189.28 - 190.27) ms-0.3%
process.time_to_main_ms83.23 ± (83.01 - 83.45) ms83.07 ± (82.83 - 83.31) ms-0.2%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.13 ± (16.11 - 16.15) MB16.22 ± (16.19 - 16.24) MB+0.5%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (20 - 21)-0.3%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms399.85 ± (397.16 - 402.55) ms401.15 ± (398.53 - 403.77) ms+0.3%✅⬆️
process.time_to_main_ms478.53 ± (477.75 - 479.32) ms478.96 ± (478.15 - 479.78) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.70 ± (58.57 - 58.83) MB58.58 ± (58.45 - 58.71) MB-0.2%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 30)+0.0%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms195.09 ± (194.62 - 195.55) ms197.62 ± (197.16 - 198.09) ms+1.3%✅⬆️
process.time_to_main_ms71.03 ± (70.82 - 71.24) ms71.63 ± (71.40 - 71.86) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.38 ± (16.35 - 16.40) MB16.37 ± (16.35 - 16.39) MB-0.0%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.5%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms194.22 ± (193.76 - 194.68) ms196.39 ± (195.86 - 196.93) ms+1.1%✅⬆️
process.time_to_main_ms71.88 ± (71.68 - 72.07) ms73.01 ± (72.79 - 73.24) ms+1.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.42 ± (16.35 - 16.49) MB16.40 ± (16.38 - 16.42) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+1.8%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms406.84 ± (404.96 - 408.72) ms415.36 ± (412.93 - 417.78) ms+2.1%✅⬆️
process.time_to_main_ms443.76 ± (443.12 - 444.40) ms449.61 ± (448.66 - 450.57) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.92 ± (58.78 - 59.07) MB59.16 ± (59.04 - 59.28) MB+0.4%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (29 - 30)-0.0%
.NET 8 - Baseline
process.internal_duration_ms190.64 ± (190.38 - 190.89) ms194.15 ± (193.70 - 194.59) ms+1.8%✅⬆️
process.time_to_main_ms69.63 ± (69.47 - 69.80) ms70.69 ± (70.49 - 70.88) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.75 ± (11.72 - 11.78) MB11.72 ± (11.71 - 11.74) MB-0.2%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+0.2%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms190.48 ± (190.22 - 190.75) ms191.45 ± (191.00 - 191.90) ms+0.5%✅⬆️
process.time_to_main_ms70.73 ± (70.62 - 70.85) ms71.18 ± (71.04 - 71.32) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.63 - 11.77) MB11.77 ± (11.74 - 11.80) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.3%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms366.57 ± (365.13 - 368.01) ms369.42 ± (368.03 - 370.81) ms+0.8%✅⬆️
process.time_to_main_ms430.68 ± (430.18 - 431.19) ms435.89 ± (435.08 - 436.69) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.96 ± (47.94 - 47.99) MB47.95 ± (47.92 - 47.98) MB-0.0%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-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 (7900) - mean (77ms)  : 69, 84
    master - mean (77ms)  : 71, 84

    section Bailout
    This PR (7900) - mean (79ms)  : 75, 83
    master - mean (80ms)  : 74, 86

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (1,074ms)  : 998, 1149
    master - mean (1,075ms)  : 1010, 1140

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 (7900) - mean (118ms)  : 108, 127
    master - mean (119ms)  : 109, 128

    section Bailout
    This PR (7900) - mean (119ms)  : 109, 128
    master - mean (121ms)  : 110, 131

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (760ms)  : 722, 799
    master - mean (758ms)  : 716, 800

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

    section Bailout
    This PR (7900) - mean (107ms)  : 99, 115
    master - mean (106ms)  : 98, 115

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (708ms)  : 672, 743
    master - mean (707ms)  : 677, 736

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7900) - mean (104ms)  : 96, 111
    master - mean (103ms)  : 97, 110

    section Bailout
    This PR (7900) - mean (105ms)  : 97, 113
    master - mean (105ms)  : 94, 116

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (691ms)  : 657, 725
    master - mean (699ms)  : 659, 739

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 (7900) - mean (194ms)  : 190, 199
    master - mean (195ms)  : 190, 200

    section Bailout
    This PR (7900) - mean (197ms)  : 194, 201
    master - mean (200ms)  : 194, 205

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (1,125ms)  : 1066, 1183
    master - mean (1,134ms)  : 1068, 1200

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 (7900) - mean (281ms)  : 271, 291
    master - mean (282ms)  : 275, 288

    section Bailout
    This PR (7900) - mean (281ms)  : 274, 288
    master - mean (282ms)  : 273, 291

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (921ms)  : 871, 971
    master - mean (919ms)  : 876, 962

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7900) - mean (277ms)  : 267, 288
    master - mean (275ms)  : 265, 285

    section Bailout
    This PR (7900) - mean (279ms)  : 265, 292
    master - mean (274ms)  : 268, 280

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (897ms)  : 855, 940
    master - mean (885ms)  : 853, 917

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7900) - mean (275ms)  : 265, 285
    master - mean (270ms)  : 266, 274

    section Bailout
    This PR (7900) - mean (272ms)  : 267, 277
    master - mean (271ms)  : 268, 274

    section CallTarget+Inlining+NGEN
    This PR (7900) - mean (836ms)  : 804, 868
    master - mean (828ms)  : 799, 856

Loading

@pr-commenter
Copy link

pr-commenter bot commented Dec 3, 2025

Benchmarks

Benchmarks Report for benchmark platform 🐌

Benchmarks for #7900 compared to master:

  • 2 benchmarks are faster, with geometric mean 1.700
  • 4 benchmarks have fewer allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 10.8μs 61.3ns 429ns 0 0 0 5.5 KB
master StartStopWithChild netcoreapp3.1 14μs 64.3ns 257ns 0 0 0 5.7 KB
master StartStopWithChild net472 22.5μs 111ns 483ns 0.987 0.329 0.11 5.94 KB
#7900 StartStopWithChild net6.0 10.7μs 60.1ns 380ns 0 0 0 5.49 KB
#7900 StartStopWithChild netcoreapp3.1 13.7μs 69.9ns 328ns 0 0 0 5.71 KB
#7900 StartStopWithChild net472 21.8μs 112ns 584ns 0.955 0.318 0.106 5.93 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 1.28ms 247ns 958ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 1.36ms 107ns 399ns 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 1.75ms 1.39μs 5.39μs 0 0 0 3.26 KB
#7900 WriteAndFlushEnrichedTraces net6.0 1.26ms 174ns 674ns 0 0 0 2.7 KB
#7900 WriteAndFlushEnrichedTraces netcoreapp3.1 1.4ms 300ns 1.16μs 0 0 0 2.7 KB
#7900 WriteAndFlushEnrichedTraces net472 1.74ms 2.04μs 7.92μs 0 0 0 3.26 KB
Benchmarks.Trace.Asm.AppSecBodyBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master AllCycleSimpleBody net6.0 1.09μs 0.749ns 2.8ns 0 0 0 1.22 KB
master AllCycleSimpleBody netcoreapp3.1 1.45μs 0.521ns 1.95ns 0 0 0 1.2 KB
master AllCycleSimpleBody net472 1.04μs 0.383ns 1.48ns 0.193 0 0 1.23 KB
master AllCycleMoreComplexBody net6.0 7.23μs 34.5ns 142ns 0 0 0 4.72 KB
master AllCycleMoreComplexBody netcoreapp3.1 9.05μs 46.9ns 225ns 0 0 0 4.62 KB
master AllCycleMoreComplexBody net472 7.76μs 2.58ns 9.64ns 0.738 0 0 4.74 KB
master ObjectExtractorSimpleBody net6.0 325ns 1.59ns 6.76ns 0 0 0 280 B
master ObjectExtractorSimpleBody netcoreapp3.1 399ns 1.97ns 8.81ns 0 0 0 272 B
master ObjectExtractorSimpleBody net472 296ns 0.0379ns 0.142ns 0.0433 0 0 281 B
master ObjectExtractorMoreComplexBody net6.0 6.24μs 31.8ns 146ns 0 0 0 3.78 KB
master ObjectExtractorMoreComplexBody netcoreapp3.1 7.76μs 35.8ns 143ns 0 0 0 3.69 KB
master ObjectExtractorMoreComplexBody net472 6.82μs 3.63ns 14ns 0.58 0 0 3.8 KB
#7900 AllCycleSimpleBody net6.0 1.13μs 5.93ns 29.7ns 0 0 0 1.22 KB
#7900 AllCycleSimpleBody netcoreapp3.1 1.38μs 7.87ns 56.2ns 0 0 0 1.2 KB
#7900 AllCycleSimpleBody net472 1.06μs 0.914ns 3.42ns 0.191 0 0 1.23 KB
#7900 AllCycleMoreComplexBody net6.0 7.48μs 29.9ns 116ns 0 0 0 4.72 KB
#7900 AllCycleMoreComplexBody netcoreapp3.1 9.11μs 12ns 46.5ns 0 0 0 4.62 KB
#7900 AllCycleMoreComplexBody net472 7.87μs 5.85ns 21.9ns 0.748 0 0 4.74 KB
#7900 ObjectExtractorSimpleBody net6.0 329ns 1.85ns 10.3ns 0 0 0 280 B
#7900 ObjectExtractorSimpleBody netcoreapp3.1 395ns 2.22ns 14.7ns 0 0 0 272 B
#7900 ObjectExtractorSimpleBody net472 297ns 0.0866ns 0.335ns 0.0433 0 0 281 B
#7900 ObjectExtractorMoreComplexBody net6.0 6.34μs 24.8ns 89.4ns 0 0 0 3.78 KB
#7900 ObjectExtractorMoreComplexBody netcoreapp3.1 7.89μs 40.5ns 198ns 0 0 0 3.69 KB
#7900 ObjectExtractorMoreComplexBody net472 6.79μs 3.76ns 14.6ns 0.579 0 0 3.8 KB
Benchmarks.Trace.Asm.AppSecEncoderBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EncodeArgs net6.0 77.8μs 140ns 522ns 0 0 0 32.4 KB
master EncodeArgs netcoreapp3.1 98.7μs 166ns 642ns 0 0 0 32.4 KB
master EncodeArgs net472 109μs 69.2ns 268ns 4.89 0 0 32.5 KB
master EncodeLegacyArgs net6.0 144μs 20.9ns 78.2ns 0 0 0 2.14 KB
master EncodeLegacyArgs netcoreapp3.1 199μs 186ns 719ns 0 0 0 2.14 KB
master EncodeLegacyArgs net472 263μs 23ns 89ns 0 0 0 2.14 KB
#7900 EncodeArgs net6.0 77.6μs 52.6ns 190ns 0 0 0 32.4 KB
#7900 EncodeArgs netcoreapp3.1 98.5μs 12.8ns 49.6ns 0 0 0 32.4 KB
#7900 EncodeArgs net472 109μs 17.2ns 59.7ns 4.94 0 0 32.5 KB
#7900 EncodeLegacyArgs net6.0 141μs 12.3ns 47.7ns 0 0 0 2.14 KB
#7900 EncodeLegacyArgs netcoreapp3.1 197μs 143ns 554ns 0 0 0 2.14 KB
#7900 EncodeLegacyArgs net472 266μs 21.8ns 81.6ns 0 0 0 2.14 KB
Benchmarks.Trace.Asm.AppSecWafBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunWafRealisticBenchmark net6.0 428μs 1.19μs 4.31μs 0 0 0 4.55 KB
master RunWafRealisticBenchmark netcoreapp3.1 477μs 3.6μs 34.1μs 0 0 0 4.48 KB
master RunWafRealisticBenchmark net472 500μs 420ns 1.57μs 0 0 0 0 b
master RunWafRealisticBenchmarkWithAttack net6.0 312μs 913ns 3.16μs 0 0 0 2.24 KB
master RunWafRealisticBenchmarkWithAttack netcoreapp3.1 367μs 3.63μs 35μs 0 0 0 2.22 KB
master RunWafRealisticBenchmarkWithAttack net472 370μs 374ns 1.4μs 0 0 0 0 b
#7900 RunWafRealisticBenchmark net6.0 428μs 994ns 3.58μs 0 0 0 4.55 KB
#7900 RunWafRealisticBenchmark netcoreapp3.1 470μs 2.57μs 23μs 0 0 0 4.48 KB
#7900 RunWafRealisticBenchmark net472 497μs 366ns 1.32μs 0 0 0 0 b
#7900 RunWafRealisticBenchmarkWithAttack net6.0 323μs 1.13μs 4.07μs 0 0 0 2.24 KB
#7900 RunWafRealisticBenchmarkWithAttack netcoreapp3.1 535μs 20μs 200μs 0 0 0 2.22 KB
#7900 RunWafRealisticBenchmarkWithAttack net472 371μs 434ns 1.62μs 0 0 0 0 b
Benchmarks.Trace.AspNetCoreBenchmark - Unknown 🤷 Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net6.0 84.6μs 74.5ns 289ns 0 0 0 19.04 KB
master SendRequest netcoreapp3.1 97.9μs 332ns 1.94μs 0 0 0 21.25 KB
master SendRequest net472 0ns 0ns 0ns 0 0 0 0 b
#7900 SendRequest net6.0 84.8μs 220ns 1.17μs 0 0 0 19.04 KB
#7900 SendRequest netcoreapp3.1 98.2μs 285ns 2μs 0 0 0 21.25 KB
#7900 SendRequest net472 0ns 0ns 0ns 0 0 0 0 b
Benchmarks.Trace.CharSliceBenchmark - Faster 🎉 Same allocations ✔️

Faster 🎉 in #7900

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool‑netcoreapp3.1 2.276 1,855,600.00 815,350.00

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master OriginalCharSlice net6.0 1.94ms 2.08μs 8.06μs 0 0 0 640 KB
master OriginalCharSlice netcoreapp3.1 3.87ms 1.08μs 4.18μs 0 0 0 640.05 KB
master OriginalCharSlice net472 2.73ms 881ns 3.3μs 0 0 0 638.98 KB
master OptimizedCharSlice net6.0 1.46ms 322ns 1.11μs 0 0 0 0 b
master OptimizedCharSlice netcoreapp3.1 2.73ms 464ns 1.74μs 0 0 0 0 b
master OptimizedCharSlice net472 2.01ms 751ns 2.81μs 0 0 0 0 b
master OptimizedCharSliceWithPool net6.0 1.06ms 714ns 2.57μs 0 0 0 0 b
master OptimizedCharSliceWithPool netcoreapp3.1 1.85ms 7.01μs 26.2μs 0 0 0 0 b
master OptimizedCharSliceWithPool net472 1.17ms 327ns 1.26μs 0 0 0 0 b
#7900 OriginalCharSlice net6.0 2.05ms 669ns 2.59μs 0 0 0 640 KB
#7900 OriginalCharSlice netcoreapp3.1 3.9ms 1.48μs 5.11μs 0 0 0 640.05 KB
#7900 OriginalCharSlice net472 2.72ms 431ns 1.55μs 0 0 0 638.98 KB
#7900 OptimizedCharSlice net6.0 1.56ms 243ns 910ns 0 0 0 0 b
#7900 OptimizedCharSlice netcoreapp3.1 2.83ms 1.22μs 4.72μs 0 0 0 0 b
#7900 OptimizedCharSlice net472 2ms 824ns 3.19μs 0 0 0 0 b
#7900 OptimizedCharSliceWithPool net6.0 1.17ms 1.26μs 4.86μs 0 0 0 0 b
#7900 OptimizedCharSliceWithPool netcoreapp3.1 816μs 685ns 4.64μs 0 0 0 0 b
#7900 OptimizedCharSliceWithPool net472 1.14ms 358ns 1.39μs 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Fewer allocations 🎉

Fewer allocations 🎉 in #7900

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces‑net472 55.78 KB 55.42 KB -356 B -0.64%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 662μs 754ns 2.92μs 0 0 0 41.75 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 792μs 4.88μs 48.8μs 0 0 0 41.87 KB
master WriteAndFlushEnrichedTraces net472 864μs 3.37μs 13μs 8.33 4.17 0 55.78 KB
#7900 WriteAndFlushEnrichedTraces net6.0 670μs 3.64μs 20.6μs 0 0 0 41.76 KB
#7900 WriteAndFlushEnrichedTraces netcoreapp3.1 753μs 3.6μs 15.3μs 0 0 0 41.85 KB
#7900 WriteAndFlushEnrichedTraces net472 878μs 2.47μs 8.9μs 4.46 0 0 55.42 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net6.0 1.94μs 2.28ns 8.82ns 0 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 2.54μs 9.51ns 36.8ns 0 0 0 1.02 KB
master ExecuteNonQuery net472 2.74μs 4.23ns 16.4ns 0.15 0 0 987 B
#7900 ExecuteNonQuery net6.0 1.88μs 9.17ns 40ns 0 0 0 1.02 KB
#7900 ExecuteNonQuery netcoreapp3.1 2.59μs 7.18ns 27.8ns 0 0 0 1.02 KB
#7900 ExecuteNonQuery net472 2.76μs 5.36ns 20.7ns 0.153 0 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.74μs 8.55ns 36.3ns 0 0 0 1.01 KB
master CallElasticsearch netcoreapp3.1 2.33μs 8.1ns 31.4ns 0 0 0 1.02 KB
master CallElasticsearch net472 3.35μs 2.48ns 9.59ns 0.151 0 0 1.01 KB
master CallElasticsearchAsync net6.0 1.71μs 7.15ns 27.7ns 0 0 0 984 B
master CallElasticsearchAsync netcoreapp3.1 2.48μs 7.24ns 27.1ns 0 0 0 1.07 KB
master CallElasticsearchAsync net472 3.47μs 0.935ns 3.5ns 0.157 0 0 1.07 KB
#7900 CallElasticsearch net6.0 1.75μs 6.27ns 23.5ns 0 0 0 1.01 KB
#7900 CallElasticsearch netcoreapp3.1 2.37μs 12ns 52.3ns 0 0 0 1.02 KB
#7900 CallElasticsearch net472 3.33μs 2.95ns 11.4ns 0.148 0 0 1.01 KB
#7900 CallElasticsearchAsync net6.0 1.79μs 0.57ns 2.13ns 0 0 0 984 B
#7900 CallElasticsearchAsync netcoreapp3.1 2.57μs 1.25ns 4.83ns 0 0 0 1.07 KB
#7900 CallElasticsearchAsync net472 3.56μs 2.85ns 11ns 0.16 0 0 1.07 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net6.0 1.95μs 6.72ns 26ns 0 0 0 952 B
master ExecuteAsync netcoreapp3.1 2.44μs 8.89ns 34.4ns 0 0 0 952 B
master ExecuteAsync net472 2.7μs 3.95ns 15.3ns 0.134 0 0 915 B
#7900 ExecuteAsync net6.0 1.98μs 6.46ns 25ns 0 0 0 952 B
#7900 ExecuteAsync netcoreapp3.1 2.37μs 9.86ns 38.2ns 0 0 0 952 B
#7900 ExecuteAsync net472 2.69μs 2.48ns 9.27ns 0.136 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 6.89μs 7.15ns 26.8ns 0 0 0 2.34 KB
master SendAsync netcoreapp3.1 8.82μs 30.9ns 120ns 0 0 0 2.89 KB
master SendAsync net472 12.3μs 8.89ns 34.4ns 0.491 0 0 3.14 KB
#7900 SendAsync net6.0 7.03μs 6.64ns 23.9ns 0 0 0 2.34 KB
#7900 SendAsync netcoreapp3.1 8.35μs 31.6ns 122ns 0 0 0 2.89 KB
#7900 SendAsync net472 12.3μs 8.73ns 32.7ns 0.491 0 0 3.14 KB
Benchmarks.Trace.Iast.StringAspectsBenchmark - Faster 🎉 Fewer allocations 🎉

Faster 🎉 in #7900

Benchmark base/diff Base Median (ns) Diff Median (ns) Modality
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 1.270 497,700.00 391,900.00 bimodal

Fewer allocations 🎉 in #7900

Benchmark Base Allocated Diff Allocated Change Change %
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑netcoreapp3.1 277.5 KB 275.77 KB -1.74 KB -0.63%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark‑net6.0 275.96 KB 256 KB -19.96 KB -7.23%
Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark‑net472 57.34 KB 49.15 KB -8.19 KB -14.29%

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StringConcatBenchmark net6.0 44.3μs 186ns 672ns 0 0 0 42.51 KB
master StringConcatBenchmark netcoreapp3.1 49μs 278ns 1.8μs 0 0 0 42.54 KB
master StringConcatBenchmark net472 57.4μs 90ns 312ns 0 0 0 57.34 KB
master StringConcatAspectBenchmark net6.0 497μs 1.63μs 5.86μs 0 0 0 275.96 KB
master StringConcatAspectBenchmark netcoreapp3.1 526μs 2.28μs 9.94μs 0 0 0 277.5 KB
master StringConcatAspectBenchmark net472 408μs 2.06μs 9.67μs 0 0 0 270.34 KB
#7900 StringConcatBenchmark net6.0 44.1μs 238ns 1.31μs 0 0 0 42.51 KB
#7900 StringConcatBenchmark netcoreapp3.1 49.2μs 262ns 1.26μs 0 0 0 42.54 KB
#7900 StringConcatBenchmark net472 57μs 261ns 1.11μs 0 0 0 49.15 KB
#7900 StringConcatAspectBenchmark net6.0 413μs 4.82μs 46.5μs 0 0 0 256 KB
#7900 StringConcatAspectBenchmark netcoreapp3.1 476μs 6.7μs 66.3μs 0 0 0 275.77 KB
#7900 StringConcatAspectBenchmark net472 408μs 2.23μs 12.6μs 0 0 0 270.34 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 2.68μs 12.6ns 49ns 0 0 0 1.69 KB
master EnrichedLog netcoreapp3.1 3.54μs 14.2ns 55.1ns 0 0 0 1.7 KB
master EnrichedLog net472 3.78μs 2.54ns 9.84ns 0.245 0 0 1.6 KB
#7900 EnrichedLog net6.0 2.76μs 2.91ns 11.3ns 0 0 0 1.69 KB
#7900 EnrichedLog netcoreapp3.1 3.51μs 16.7ns 66.8ns 0 0 0 1.7 KB
#7900 EnrichedLog net472 3.83μs 3.48ns 13.5ns 0.249 0 0 1.6 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 127μs 377ns 1.36μs 0 0 0 4.31 KB
master EnrichedLog netcoreapp3.1 133μs 248ns 959ns 0 0 0 4.31 KB
master EnrichedLog net472 167μs 27.8ns 108ns 0 0 0 4.51 KB
#7900 EnrichedLog net6.0 128μs 317ns 1.19μs 0 0 0 4.31 KB
#7900 EnrichedLog netcoreapp3.1 132μs 336ns 1.3μs 0 0 0 4.31 KB
#7900 EnrichedLog net472 173μs 705ns 2.73μs 0 0 0 4.51 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 4.98μs 3.16ns 12.2ns 0 0 0 2.24 KB
master EnrichedLog netcoreapp3.1 7.04μs 16.5ns 63.8ns 0 0 0 2.26 KB
master EnrichedLog net472 7.59μs 6.89ns 26.7ns 0.303 0 0 2.05 KB
#7900 EnrichedLog net6.0 5.13μs 5.87ns 22.7ns 0 0 0 2.24 KB
#7900 EnrichedLog netcoreapp3.1 6.79μs 27.8ns 108ns 0 0 0 2.26 KB
#7900 EnrichedLog net472 7.71μs 15.7ns 60.7ns 0.306 0 0 2.05 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net6.0 1.95μs 9.43ns 37.7ns 0 0 0 1.18 KB
master SendReceive netcoreapp3.1 2.56μs 9.92ns 38.4ns 0 0 0 1.19 KB
master SendReceive net472 2.92μs 1.95ns 7.54ns 0.174 0 0 1.17 KB
#7900 SendReceive net6.0 2.03μs 2.84ns 11ns 0 0 0 1.18 KB
#7900 SendReceive netcoreapp3.1 2.54μs 12.7ns 56.6ns 0 0 0 1.19 KB
#7900 SendReceive net472 2.93μs 1.28ns 4.97ns 0.175 0 0 1.17 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 4.42μs 11ns 42.5ns 0 0 0 1.58 KB
master EnrichedLog netcoreapp3.1 5.69μs 14.2ns 55ns 0 0 0 1.63 KB
master EnrichedLog net472 6.64μs 7ns 27.1ns 0.298 0 0 2.03 KB
#7900 EnrichedLog net6.0 4.53μs 6.79ns 25.4ns 0 0 0 1.58 KB
#7900 EnrichedLog netcoreapp3.1 5.47μs 24ns 92.8ns 0 0 0 1.63 KB
#7900 EnrichedLog net472 6.61μs 4.89ns 18.3ns 0.299 0 0 2.03 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 820ns 2.16ns 8.08ns 0 0 0 576 B
master StartFinishSpan netcoreapp3.1 992ns 4.93ns 22.6ns 0 0 0 576 B
master StartFinishSpan net472 904ns 0.349ns 1.31ns 0.091 0 0 578 B
master StartFinishScope net6.0 945ns 3.27ns 12.7ns 0 0 0 696 B
master StartFinishScope netcoreapp3.1 1.19μs 6.42ns 33.4ns 0 0 0 696 B
master StartFinishScope net472 1.1μs 0.679ns 2.63ns 0.104 0 0 658 B
master StartFinishTwoScopes net6.0 1.75μs 9.44ns 49.1ns 0 0 0 1.19 KB
master StartFinishTwoScopes netcoreapp3.1 2.22μs 11.1ns 46.9ns 0 0 0 1.19 KB
master StartFinishTwoScopes net472 2.17μs 0.456ns 1.77ns 0.163 0 0 1.08 KB
#7900 StartFinishSpan net6.0 798ns 3.85ns 15.9ns 0 0 0 576 B
#7900 StartFinishSpan netcoreapp3.1 978ns 5.05ns 25.2ns 0 0 0 576 B
#7900 StartFinishSpan net472 920ns 0.901ns 3.25ns 0.0875 0 0 578 B
#7900 StartFinishScope net6.0 1.05μs 5.13ns 21.8ns 0 0 0 696 B
#7900 StartFinishScope netcoreapp3.1 1.2μs 6.53ns 34.5ns 0 0 0 696 B
#7900 StartFinishScope net472 1.12μs 1.34ns 5.2ns 0.1 0 0 658 B
#7900 StartFinishTwoScopes net6.0 1.81μs 0.874ns 3.39ns 0 0 0 1.19 KB
#7900 StartFinishTwoScopes netcoreapp3.1 2.19μs 9.66ns 37.4ns 0 0 0 1.19 KB
#7900 StartFinishTwoScopes net472 2.14μs 1.02ns 3.95ns 0.161 0 0 1.08 KB
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net6.0 1.08μs 5.85ns 31ns 0 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 1.43μs 5.27ns 20.4ns 0 0 0 696 B
master RunOnMethodBegin net472 1.45μs 0.427ns 1.65ns 0.102 0 0 658 B
#7900 RunOnMethodBegin net6.0 1.08μs 5.09ns 20.4ns 0 0 0 696 B
#7900 RunOnMethodBegin netcoreapp3.1 1.44μs 7.15ns 32ns 0 0 0 696 B
#7900 RunOnMethodBegin net472 1.46μs 0.438ns 1.7ns 0.103 0 0 658 B

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) dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant