Skip to content

Conversation

@dudikeleti
Copy link
Contributor

@dudikeleti dudikeleti commented Dec 20, 2025

Summary of changes

Change type name for boolean on our TypePreovider

Test coverage

All current integration tests + exploration tests

Other details

This PR is part of an effort to make the Snapshot Exploration Test run successfully end-to-end.

@dudikeleti dudikeleti requested a review from a team as a code owner December 20, 2025 12:53
@github-actions github-actions bot added area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) area:debugger labels Dec 20, 2025
@dd-trace-dotnet-ci-bot
Copy link

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (7990) 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
duration68.37 ± (68.44 - 68.67) ms68.32 ± (68.39 - 68.62) ms-0.1%
.NET Framework 4.8 - Bailout
duration72.04 ± (71.98 - 72.19) ms72.27 ± (72.17 - 72.40) ms+0.3%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1002.12 ± (1004.91 - 1011.87) ms1000.57 ± (1003.43 - 1009.08) ms-0.2%
.NET Core 3.1 - Baseline
process.internal_duration_ms21.95 ± (21.93 - 21.97) ms22.10 ± (22.06 - 22.13) ms+0.7%✅⬆️
process.time_to_main_ms78.46 ± (78.35 - 78.58) ms78.96 ± (78.81 - 79.11) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) 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_ms21.95 ± (21.93 - 21.97) ms21.96 ± (21.94 - 21.98) ms+0.0%✅⬆️
process.time_to_main_ms79.96 ± (79.89 - 80.04) ms80.01 ± (79.90 - 80.12) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.93 - 10.94) MB10.96 ± (10.95 - 10.96) MB+0.2%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms210.44 ± (209.06 - 211.82) ms210.38 ± (209.02 - 211.75) ms-0.0%
process.time_to_main_ms472.04 ± (471.46 - 472.62) ms472.84 ± (472.31 - 473.37) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.10 ± (48.08 - 48.12) MB48.18 ± (48.16 - 48.20) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%
.NET 6 - Baseline
process.internal_duration_ms20.65 ± (20.63 - 20.68) ms20.65 ± (20.62 - 20.67) ms-0.0%
process.time_to_main_ms68.09 ± (67.97 - 68.20) ms68.13 ± (68.02 - 68.23) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.64 ± (10.64 - 10.64) MB+0.3%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.61 ± (20.58 - 20.64) ms20.59 ± (20.57 - 20.61) ms-0.1%
process.time_to_main_ms68.94 ± (68.88 - 69.01) ms69.10 ± (69.04 - 69.17) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.73 - 10.74) MB10.68 ± (10.68 - 10.69) MB-0.5%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms200.18 ± (198.87 - 201.49) ms201.41 ± (200.23 - 202.59) ms+0.6%✅⬆️
process.time_to_main_ms437.61 ± (436.97 - 438.24) ms438.81 ± (438.24 - 439.38) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.00 ± (47.92 - 48.08) MB48.31 ± (48.24 - 48.38) MB+0.6%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.82 ± (18.79 - 18.84) ms18.92 ± (18.90 - 18.95) ms+0.6%✅⬆️
process.time_to_main_ms66.98 ± (66.87 - 67.08) ms67.52 ± (67.39 - 67.66) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.69 ± (7.68 - 7.70) MB7.68 ± (7.67 - 7.68) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.81 ± (18.79 - 18.82) ms18.88 ± (18.86 - 18.91) ms+0.4%✅⬆️
process.time_to_main_ms68.07 ± (68.01 - 68.13) ms68.31 ± (68.26 - 68.37) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.77 ± (7.76 - 7.79) MB+0.6%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms180.15 ± (179.10 - 181.20) ms178.79 ± (177.96 - 179.62) ms-0.8%
process.time_to_main_ms425.59 ± (424.81 - 426.37) ms423.97 ± (423.41 - 424.53) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.31 ± (36.27 - 36.34) MB36.32 ± (36.29 - 36.34) MB+0.0%✅⬆️
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
duration192.71 ± (193.01 - 193.77) ms192.49 ± (192.47 - 193.22) ms-0.1%
.NET Framework 4.8 - Bailout
duration196.49 ± (196.15 - 196.64) ms196.84 ± (196.73 - 197.64) ms+0.2%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1111.56 ± (1114.95 - 1123.79) ms1115.24 ± (1114.48 - 1121.19) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms187.49 ± (187.10 - 187.89) ms187.89 ± (187.56 - 188.23) ms+0.2%✅⬆️
process.time_to_main_ms80.17 ± (79.97 - 80.38) ms80.26 ± (80.08 - 80.43) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.06 ± (16.04 - 16.09) MB16.10 ± (16.07 - 16.13) MB+0.2%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.0%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms186.68 ± (186.37 - 187.00) ms187.54 ± (187.16 - 187.93) ms+0.5%✅⬆️
process.time_to_main_ms81.54 ± (81.42 - 81.65) ms81.92 ± (81.75 - 82.09) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.16 ± (16.13 - 16.19) MB16.11 ± (16.08 - 16.15) MB-0.3%
runtime.dotnet.threads.count21 ± (21 - 21)20 ± (20 - 20)-1.1%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms395.98 ± (393.57 - 398.40) ms405.62 ± (402.44 - 408.80) ms+2.4%✅⬆️
process.time_to_main_ms475.83 ± (475.22 - 476.43) ms475.79 ± (475.16 - 476.43) ms-0.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.48 ± (58.33 - 58.62) MB58.51 ± (58.37 - 58.65) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.2%
.NET 6 - Baseline
process.internal_duration_ms191.69 ± (191.34 - 192.03) ms191.43 ± (191.17 - 191.69) ms-0.1%
process.time_to_main_ms69.73 ± (69.57 - 69.90) ms69.91 ± (69.74 - 70.07) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.04 ± (15.90 - 16.18) MB16.18 ± (16.05 - 16.30) MB+0.8%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)18 ± (18 - 18)-0.6%
.NET 6 - Bailout
process.internal_duration_ms190.64 ± (190.43 - 190.86) ms191.00 ± (190.63 - 191.37) ms+0.2%✅⬆️
process.time_to_main_ms70.36 ± (70.28 - 70.43) ms70.72 ± (70.60 - 70.84) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.11 ± (15.97 - 16.26) MB15.95 ± (15.79 - 16.11) MB-1.0%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.4%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms411.54 ± (408.95 - 414.13) ms408.70 ± (406.23 - 411.17) ms-0.7%
process.time_to_main_ms443.81 ± (443.28 - 444.33) ms445.28 ± (444.75 - 445.82) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.01 ± (58.88 - 59.14) MB58.72 ± (58.56 - 58.87) MB-0.5%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.2%
.NET 8 - Baseline
process.internal_duration_ms189.64 ± (189.37 - 189.91) ms189.72 ± (189.37 - 190.07) ms+0.0%✅⬆️
process.time_to_main_ms69.26 ± (69.04 - 69.48) ms69.46 ± (69.29 - 69.62) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.70 ± (11.64 - 11.75) MB11.76 ± (11.72 - 11.79) MB+0.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)+2.0%✅⬆️
.NET 8 - Bailout
process.internal_duration_ms189.20 ± (188.95 - 189.45) ms189.09 ± (188.87 - 189.32) ms-0.1%
process.time_to_main_ms70.22 ± (70.12 - 70.32) ms70.32 ± (70.24 - 70.40) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.80 ± (11.75 - 11.84) MB11.78 ± (11.75 - 11.80) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.6%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms362.33 ± (360.62 - 364.04) ms363.02 ± (361.46 - 364.58) ms+0.2%✅⬆️
process.time_to_main_ms426.00 ± (425.47 - 426.54) ms428.21 ± (427.63 - 428.80) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.95 ± (47.92 - 47.98) MB47.95 ± (47.92 - 47.98) MB+0.0%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)+0.3%✅⬆️
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 (7990) - mean (69ms)  : 67, 70
    master - mean (69ms)  : 67, 70

    section Bailout
    This PR (7990) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (1,006ms)  : 966, 1047
    master - mean (1,008ms)  : 959, 1058

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 (7990) - mean (106ms)  : 103, 109
    master - mean (106ms)  : 103, 108

    section Bailout
    This PR (7990) - mean (107ms)  : 105, 109
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (711ms)  : 680, 741
    master - mean (709ms)  : 681, 738

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

    section Bailout
    This PR (7990) - mean (94ms)  : 94, 95
    master - mean (94ms)  : 93, 95

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (666ms)  : 648, 684
    master - mean (663ms)  : 644, 683

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7990) - mean (93ms)  : 90, 95
    master - mean (92ms)  : 90, 94

    section Bailout
    This PR (7990) - mean (93ms)  : 92, 94
    master - mean (93ms)  : 92, 94

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (630ms)  : 616, 643
    master - mean (634ms)  : 619, 648

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 (7990) - mean (193ms)  : 189, 197
    master - mean (193ms)  : 189, 197

    section Bailout
    This PR (7990) - mean (197ms)  : 193, 202
    master - mean (196ms)  : 194, 199

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (1,118ms)  : 1070, 1165
    master - mean (1,119ms)  : 1052, 1186

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 (7990) - mean (277ms)  : 272, 282
    master - mean (276ms)  : 270, 282

    section Bailout
    This PR (7990) - mean (278ms)  : 273, 282
    master - mean (276ms)  : 273, 280

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (917ms)  : 862, 972
    master - mean (904ms)  : 856, 952

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7990) - mean (269ms)  : 266, 273
    master - mean (270ms)  : 265, 275

    section Bailout
    This PR (7990) - mean (270ms)  : 265, 274
    master - mean (269ms)  : 266, 272

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (887ms)  : 844, 929
    master - mean (885ms)  : 847, 923

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (7990) - mean (269ms)  : 263, 275
    master - mean (268ms)  : 264, 273

    section Bailout
    This PR (7990) - mean (269ms)  : 266, 272
    master - mean (269ms)  : 266, 272

    section CallTarget+Inlining+NGEN
    This PR (7990) - mean (823ms)  : 801, 845
    master - mean (820ms)  : 801, 839

Loading

@pr-commenter
Copy link

pr-commenter bot commented Dec 20, 2025

Benchmarks

Benchmark execution time: 2025-12-20 13:49:18

Comparing candidate commit 21e9e23 in PR branch dudik/symdb-fix-type-name with baseline commit b1bc5a1 in branch master.

Found 9 performance improvements and 2 performance regressions! Performance is the same for 156 metrics, 19 unstable metrics.

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

  • 🟩 execution_time [-18.530ms; -14.690ms] or [-8.555%; -6.782%]

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

  • 🟩 execution_time [-24.767ms; -18.739ms] or [-11.410%; -8.633%]

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

  • 🟩 execution_time [-22.342ms; -21.410ms] or [-11.018%; -10.559%]

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

  • 🟥 execution_time [+96.147ms; +103.563ms] or [+97.906%; +105.458%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟩 execution_time [-47.027ms; -40.839ms] or [-19.866%; -17.252%]
  • 🟩 throughput [+200.912op/s; +230.630op/s] or [+21.221%; +24.359%]

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

  • 🟩 execution_time [-135.277µs; -126.990µs] or [-8.885%; -8.340%]
  • 🟩 throughput [+60.014op/s; +63.763op/s] or [+9.137%; +9.708%]

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

  • 🟩 throughput [+286.178op/s; +453.372op/s] or [+15.590%; +24.698%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • 🟩 execution_time [-11.082ms; -10.580ms] or [-5.527%; -5.276%]

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

  • 🟥 execution_time [+15.258ms; +19.208ms] or [+7.699%; +9.692%]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants