Skip to content

Conversation

@gleocadie
Copy link
Collaborator

Summary of changes

Reason for change

Implementation details

Test coverage

Other details

@gleocadie gleocadie force-pushed the gleocadie/crashtracker-use-ping-mechanism branch from b706474 to bab5835 Compare January 2, 2026 13:40
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Jan 2, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8028) 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.31 ± (68.27 - 68.46) ms68.44 ± (68.51 - 68.72) ms+0.2%✅⬆️
.NET Framework 4.8 - Bailout
duration72.26 ± (72.22 - 72.42) ms72.06 ± (72.05 - 72.24) ms-0.3%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1004.18 ± (1005.16 - 1011.02) ms1010.50 ± (1008.77 - 1014.08) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms21.96 ± (21.94 - 21.99) ms21.98 ± (21.94 - 22.01) ms+0.1%✅⬆️
process.time_to_main_ms78.91 ± (78.76 - 79.07) ms78.92 ± (78.76 - 79.09) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.92 - 10.93) MB10.93 ± (10.92 - 10.93) MB+0.0%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.90 ± (21.87 - 21.92) ms21.94 ± (21.92 - 21.96) ms+0.2%✅⬆️
process.time_to_main_ms79.97 ± (79.88 - 80.07) ms80.18 ± (80.09 - 80.27) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.96 ± (10.96 - 10.97) MB10.97 ± (10.97 - 10.98) MB+0.1%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms243.25 ± (239.26 - 247.24) ms230.09 ± (225.76 - 234.43) ms-5.4%
process.time_to_main_ms471.91 ± (471.33 - 472.49) ms472.46 ± (471.95 - 472.96) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.23 - 48.28) MB48.25 ± (48.23 - 48.27) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.7%
.NET 6 - Baseline
process.internal_duration_ms20.71 ± (20.68 - 20.74) ms20.79 ± (20.75 - 20.82) ms+0.4%✅⬆️
process.time_to_main_ms68.32 ± (68.23 - 68.42) ms68.34 ± (68.24 - 68.43) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.64 ± (10.64 - 10.64) MB10.66 ± (10.65 - 10.66) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.54 ± (20.52 - 20.56) ms20.73 ± (20.71 - 20.76) ms+0.9%✅⬆️
process.time_to_main_ms69.13 ± (69.07 - 69.18) ms69.43 ± (69.37 - 69.49) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.73 ± (10.72 - 10.74) MB10.76 ± (10.75 - 10.76) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms245.38 ± (243.26 - 247.50) ms246.67 ± (244.77 - 248.57) ms+0.5%✅⬆️
process.time_to_main_ms441.55 ± (441.06 - 442.04) ms443.14 ± (442.63 - 443.64) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.75 ± (48.72 - 48.78) MB48.73 ± (48.70 - 48.76) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.4%
.NET 8 - Baseline
process.internal_duration_ms18.81 ± (18.78 - 18.83) ms18.73 ± (18.70 - 18.75) ms-0.4%
process.time_to_main_ms67.30 ± (67.22 - 67.39) ms66.91 ± (66.81 - 67.01) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.69) MB7.67 ± (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.85 ± (18.82 - 18.88) ms18.89 ± (18.86 - 18.91) ms+0.2%✅⬆️
process.time_to_main_ms68.60 ± (68.51 - 68.68) ms68.26 ± (68.20 - 68.33) ms-0.5%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.73) MB7.72 ± (7.71 - 7.73) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms177.51 ± (176.52 - 178.51) ms177.53 ± (176.62 - 178.45) ms+0.0%✅⬆️
process.time_to_main_ms425.59 ± (424.98 - 426.20) ms424.96 ± (424.35 - 425.57) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.33 ± (36.30 - 36.37) MB36.31 ± (36.28 - 36.34) 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.39 ± (194.75 - 195.80) ms193.48 ± (193.51 - 194.26) ms-0.5%
.NET Framework 4.8 - Bailout
duration198.22 ± (198.26 - 199.14) ms197.05 ± (196.93 - 197.75) ms-0.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1127.91 ± (1129.67 - 1137.64) ms1117.18 ± (1117.02 - 1124.55) ms-1.0%
.NET Core 3.1 - Baseline
process.internal_duration_ms188.76 ± (188.41 - 189.10) ms187.58 ± (187.21 - 187.95) ms-0.6%
process.time_to_main_ms81.25 ± (81.03 - 81.47) ms80.59 ± (80.33 - 80.84) ms-0.8%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.07 ± (16.04 - 16.09) MB16.18 ± (16.15 - 16.21) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms192.17 ± (191.65 - 192.70) ms187.25 ± (186.93 - 187.58) ms-2.6%
process.time_to_main_ms83.87 ± (83.62 - 84.11) ms81.97 ± (81.85 - 82.10) ms-2.3%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.17 ± (16.15 - 16.19) MB16.12 ± (16.09 - 16.15) MB-0.3%
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.3%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms424.25 ± (421.03 - 427.46) ms416.18 ± (412.74 - 419.61) ms-1.9%
process.time_to_main_ms478.23 ± (477.36 - 479.11) ms473.89 ± (473.29 - 474.49) ms-0.9%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.71 ± (58.60 - 58.81) MB58.72 ± (58.61 - 58.84) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (29 - 30)29 ± (29 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms194.02 ± (193.59 - 194.46) ms192.15 ± (191.85 - 192.44) ms-1.0%
process.time_to_main_ms70.45 ± (70.30 - 70.60) ms70.24 ± (70.05 - 70.42) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.26 ± (16.19 - 16.33) MB16.22 ± (16.10 - 16.34) MB-0.2%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%
.NET 6 - Bailout
process.internal_duration_ms194.19 ± (193.69 - 194.68) ms191.19 ± (190.87 - 191.50) ms-1.5%
process.time_to_main_ms71.78 ± (71.59 - 71.97) ms71.00 ± (70.88 - 71.11) ms-1.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.21 - 16.38) MB16.37 ± (16.27 - 16.47) MB+0.5%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms450.73 ± (447.58 - 453.88) ms451.40 ± (448.51 - 454.30) ms+0.1%✅⬆️
process.time_to_main_ms447.67 ± (447.02 - 448.32) ms445.94 ± (445.50 - 446.39) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.45 ± (58.33 - 58.58) MB58.21 ± (58.09 - 58.34) MB-0.4%
runtime.dotnet.threads.count30 ± (29 - 30)30 ± (29 - 30)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms190.86 ± (190.50 - 191.21) ms190.62 ± (190.28 - 190.96) ms-0.1%
process.time_to_main_ms70.03 ± (69.83 - 70.23) ms69.66 ± (69.48 - 69.84) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.76) MB11.75 ± (11.72 - 11.79) MB+0.1%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.4%
.NET 8 - Bailout
process.internal_duration_ms190.35 ± (190.07 - 190.64) ms190.94 ± (190.65 - 191.23) ms+0.3%✅⬆️
process.time_to_main_ms70.85 ± (70.74 - 70.97) ms70.87 ± (70.75 - 71.00) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.81 ± (11.78 - 11.84) MB11.80 ± (11.78 - 11.83) MB-0.1%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.0%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms366.58 ± (364.98 - 368.17) ms362.87 ± (361.36 - 364.37) ms-1.0%
process.time_to_main_ms430.79 ± (430.19 - 431.40) ms428.73 ± (428.18 - 429.29) ms-0.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.98 ± (47.95 - 48.01) MB47.98 ± (47.95 - 48.01) 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 (8028) - mean (69ms)  : 67, 70
    master - mean (68ms)  : 67, 70

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

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (1,011ms)  : 974, 1049
    master - mean (1,008ms)  : 966, 1050

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

    section Bailout
    This PR (8028) - mean (107ms)  : 106, 108
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (733ms)  : 670, 797
    master - mean (742ms)  : 678, 806

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

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

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (712ms)  : 680, 745
    master - mean (708ms)  : 658, 759

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

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

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (631ms)  : 616, 646
    master - mean (630ms)  : 615, 646

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 (8028) - mean (194ms)  : 190, 197
    master - mean (195ms)  : 189, 202

    section Bailout
    This PR (8028) - mean (197ms)  : 193, 201
    master - mean (199ms)  : 194, 203

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (1,121ms)  : 1067, 1174
    master - mean (1,134ms)  : 1076, 1191

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 (8028) - mean (277ms)  : 270, 283
    master - mean (278ms)  : 273, 284

    section Bailout
    This PR (8028) - mean (277ms)  : 273, 280
    master - mean (285ms)  : 272, 297

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (920ms)  : 869, 971
    master - mean (936ms)  : 889, 982

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

    section Bailout
    This PR (8028) - mean (270ms)  : 265, 276
    master - mean (275ms)  : 268, 282

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (926ms)  : 880, 972
    master - mean (928ms)  : 886, 970

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

    section Bailout
    This PR (8028) - mean (271ms)  : 266, 276
    master - mean (271ms)  : 267, 275

    section CallTarget+Inlining+NGEN
    This PR (8028) - mean (823ms)  : 801, 845
    master - mean (828ms)  : 802, 854

Loading

@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jan 2, 2026

⚠️ Tests

Fix all issues with Cursor

⚠️ Warnings

🧪 33 Tests failed

CheckThreadName from Datadog.Trace.Tools.dd_dotnet.ArtifactTests.CreatedumpTests (Datadog) (Fix with Cursor)
Expected File.Exists(pingFile.Path) to be True, but found False.

With stdout:
Waiting - PID: 2626 - Main thread: 2626 - Profiler attached: True
Frame|Samples.Console.dll!REDACTED
Frame|System.Private.CoreLib.dll!System.Progress<System.__Canon>.InvokeHandlers
Frame|Samples.Console.dll!REDACTED
Frame|Samples.Console.dll!REDACTED
Frame|Samples.Console.dll!REDACTED
Frame|System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal
...
CheckThreadName from Datadog.Trace.Tools.dd_dotnet.ArtifactTests.CreatedumpTests (Datadog) (Fix with Cursor)

   at System.Threading.ThreadHelper.ThreadStart()tionContext executionContext, ContextCallback callback, Object state) Boolean preserveSyncCtx)SyncCtx)Program.cs:line 153
CheckThreadName from Datadog.Trace.Tools.dd_dotnet.ArtifactTests.CreatedumpTests (Datadog) (Fix with Cursor)
Expected File.Exists(pingFile.Path) to be True, but found False.

With stdout:
Waiting - PID: 2610 - Main thread: 2610 - Profiler attached: True
Frame|Samples.Console.dll!REDACTED
Frame|System.Private.CoreLib.dll!System.Progress<System.__Canon>.InvokeHandlers
Frame|Samples.Console.dll!REDACTED
Frame|Samples.Console.dll!REDACTED
Frame|Samples.Console.dll!REDACTED
Frame|System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal
...
View all

ℹ️ Info

❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 61b2c62 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@pr-commenter
Copy link

pr-commenter bot commented Jan 2, 2026

Benchmarks

Benchmark execution time: 2026-01-07 23:35:25

Comparing candidate commit 61b2c62 in PR branch gleocadie/crashtracker-use-ping-mechanism with baseline commit 5d1df24 in branch master.

Found 4 performance improvements and 6 performance regressions! Performance is the same for 164 metrics, 12 unstable metrics.

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

  • 🟩 throughput [+3568.711op/s; +5519.179op/s] or [+5.255%; +8.127%]

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

  • 🟥 execution_time [+12.785ms; +18.178ms] or [+6.447%; +9.166%]

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

  • 🟥 throughput [-229989.610op/s; -163000.894op/s] or [-7.484%; -5.304%]

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

  • 🟥 execution_time [+22.835ms; +23.832ms] or [+12.645%; +13.198%]

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

  • 🟥 execution_time [+33.471µs; +57.517µs] or [+10.294%; +17.689%]
  • 🟥 throughput [-436.400op/s; -254.615op/s] or [-14.163%; -8.263%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟩 execution_time [-32.852ms; -28.791ms] or [-15.438%; -13.530%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • 🟩 execution_time [-64.208µs; -61.832µs] or [-5.377%; -5.178%]
  • 🟩 throughput [+45.783op/s; +47.548op/s] or [+5.467%; +5.677%]

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

  • 🟥 execution_time [+32.001ms; +38.691ms] or [+19.047%; +23.029%]

@gleocadie gleocadie force-pushed the gleocadie/crashtracker-use-ping-mechanism branch 5 times, most recently from bd6ecd9 to 50254c4 Compare January 6, 2026 08:51
@gleocadie gleocadie force-pushed the gleocadie/crashtracker-use-ping-mechanism branch 2 times, most recently from 6c1a917 to 1239a8a Compare January 6, 2026 10:10
@gleocadie gleocadie force-pushed the gleocadie/crashtracker-use-ping-mechanism branch 2 times, most recently from 6c0c046 to 7c531f5 Compare January 7, 2026 12:52
@gleocadie gleocadie force-pushed the gleocadie/crashtracker-use-ping-mechanism branch from 7c531f5 to 61b2c62 Compare January 7, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants