Skip to content

[Azure Functions] Update Datadog.Serverless.Compat version#8085

Merged
kathiehuang merged 2 commits intomasterfrom
kathie.huang/update-datadog-serverless-compat
Jan 21, 2026
Merged

[Azure Functions] Update Datadog.Serverless.Compat version#8085
kathiehuang merged 2 commits intomasterfrom
kathie.huang/update-datadog-serverless-compat

Conversation

@kathiehuang
Copy link
Contributor

Summary of changes

Updates Datadog.Serverless.Compat version to v1.1.2.

@kathiehuang kathiehuang requested review from a team as code owners January 21, 2026 15:03
@kathiehuang kathiehuang requested a review from Lewis-E January 21, 2026 15:03
@pr-commenter
Copy link

pr-commenter bot commented Jan 21, 2026

Benchmarks

Benchmark execution time: 2026-01-21 18:41:56

Comparing candidate commit 5c2a504 in PR branch kathie.huang/update-datadog-serverless-compat with baseline commit ff591c6 in branch master.

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

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

  • 🟩 execution_time [-109.720ms; -107.069ms] or [-54.550%; -53.232%]

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

  • 🟥 execution_time [+24.228ms; +30.155ms] or [+12.315%; +15.328%]

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

  • 🟩 execution_time [-19.681ms; -14.148ms] or [-9.336%; -6.711%]

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

  • 🟩 execution_time [-96.780ms; -95.986ms] or [-49.432%; -49.027%]

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

  • 🟥 execution_time [+491.458µs; +499.596µs] or [+33.394%; +33.947%]
  • 🟥 throughput [-172.274op/s; -170.027op/s] or [-25.354%; -25.023%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • 🟩 execution_time [-233.445µs; -228.889µs] or [-8.331%; -8.168%]
  • 🟩 throughput [+31.766op/s; +32.406op/s] or [+8.901%; +9.081%]

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

  • 🟥 execution_time [+253.541µs; +270.766µs] or [+12.554%; +13.407%]
  • 🟥 throughput [-58.598op/s; -55.145op/s] or [-11.835%; -11.137%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟩 throughput [+15765.190op/s; +16702.081op/s] or [+5.510%; +5.838%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟩 throughput [+30918.840op/s; +32072.110op/s] or [+11.749%; +12.187%]

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

  • 🟩 execution_time [-18.798ms; -14.071ms] or [-8.898%; -6.661%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • 🟥 throughput [-29423.391op/s; -24982.002op/s] or [-7.490%; -6.359%]

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

  • 🟥 throughput [-33928.952op/s; -25936.432op/s] or [-7.413%; -5.667%]

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

  • 🟥 execution_time [+44.151ms; +45.898ms] or [+28.488%; +29.615%]

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

  • 🟩 execution_time [-19.527ms; -14.010ms] or [-9.179%; -6.586%]
  • 🟩 throughput [+35974.976op/s; +46478.350op/s] or [+10.063%; +13.001%]

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

  • 🟩 execution_time [-121.476ms; -106.674ms] or [-60.888%; -53.468%]

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

  • 🟩 throughput [+22638677.236op/s; +23750009.381op/s] or [+10.420%; +10.931%]

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

  • 🟥 execution_time [+100.248ms; +104.602ms] or [+91.117%; +95.074%]

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

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8085) 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.36 ± (68.41 - 68.66) ms68.65 ± (68.63 - 68.86) ms+0.4%✅⬆️
.NET Framework 4.8 - Bailout
duration72.37 ± (72.29 - 72.55) ms72.36 ± (72.31 - 72.51) ms-0.0%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1003.71 ± (1006.90 - 1015.89) ms1006.96 ± (1012.80 - 1022.72) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms21.83 ± (21.80 - 21.87) ms21.82 ± (21.79 - 21.85) ms-0.0%
process.time_to_main_ms78.76 ± (78.63 - 78.89) ms79.24 ± (79.09 - 79.39) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.88 ± (10.88 - 10.89) MB10.91 ± (10.90 - 10.91) MB+0.3%✅⬆️
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms21.84 ± (21.82 - 21.86) ms21.75 ± (21.73 - 21.78) ms-0.4%
process.time_to_main_ms79.88 ± (79.76 - 79.99) ms80.11 ± (79.99 - 80.23) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.94 ± (10.94 - 10.95) MB+0.3%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms247.87 ± (244.82 - 250.92) ms251.11 ± (247.78 - 254.44) ms+1.3%✅⬆️
process.time_to_main_ms469.05 ± (468.48 - 469.63) ms471.76 ± (471.13 - 472.38) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.35 ± (48.32 - 48.37) MB48.39 ± (48.37 - 48.41) MB+0.1%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.2%
.NET 6 - Baseline
process.internal_duration_ms20.66 ± (20.63 - 20.69) ms20.67 ± (20.64 - 20.71) ms+0.0%✅⬆️
process.time_to_main_ms68.47 ± (68.36 - 68.58) ms68.93 ± (68.81 - 69.04) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.59 ± (10.58 - 10.59) MB10.65 ± (10.64 - 10.65) MB+0.5%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.54 ± (20.51 - 20.56) ms20.50 ± (20.46 - 20.53) ms-0.2%
process.time_to_main_ms69.44 ± (69.36 - 69.52) ms69.40 ± (69.34 - 69.47) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.69 ± (10.69 - 10.70) MB10.79 ± (10.76 - 10.81) MB+0.9%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms247.71 ± (245.59 - 249.82) ms246.56 ± (244.39 - 248.73) ms-0.5%
process.time_to_main_ms448.73 ± (448.00 - 449.46) ms448.57 ± (448.08 - 449.05) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.09 ± (49.06 - 49.12) MB49.17 ± (49.14 - 49.20) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.82 ± (18.80 - 18.85) ms18.85 ± (18.82 - 18.88) ms+0.1%✅⬆️
process.time_to_main_ms67.32 ± (67.23 - 67.41) ms67.61 ± (67.50 - 67.72) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.65 - 7.66) MB7.70 ± (7.69 - 7.71) MB+0.6%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.83 ± (18.80 - 18.86) ms19.01 ± (18.98 - 19.05) ms+1.0%✅⬆️
process.time_to_main_ms68.52 ± (68.46 - 68.58) ms68.91 ± (68.85 - 68.97) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.75 ± (7.74 - 7.76) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms180.40 ± (179.47 - 181.33) ms178.75 ± (177.97 - 179.53) ms-0.9%
process.time_to_main_ms429.84 ± (429.17 - 430.51) ms433.79 ± (432.99 - 434.58) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.55 ± (36.52 - 36.59) MB36.58 ± (36.56 - 36.61) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (26 - 27)27 ± (26 - 27)-0.0%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration195.45 ± (195.34 - 196.19) ms194.38 ± (194.17 - 195.05) ms-0.5%
.NET Framework 4.8 - Bailout
duration199.01 ± (198.62 - 199.47) ms197.79 ± (197.69 - 198.26) ms-0.6%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1127.94 ± (1131.01 - 1139.86) ms1129.36 ± (1131.78 - 1141.70) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms189.44 ± (189.03 - 189.86) ms188.45 ± (188.02 - 188.89) ms-0.5%
process.time_to_main_ms81.80 ± (81.57 - 82.02) ms81.77 ± (81.53 - 82.01) ms-0.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.04 ± (16.02 - 16.06) MB16.08 ± (16.05 - 16.11) MB+0.3%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (20 - 20)+0.4%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms191.09 ± (190.55 - 191.63) ms187.57 ± (187.19 - 187.96) ms-1.8%
process.time_to_main_ms83.84 ± (83.59 - 84.09) ms82.99 ± (82.78 - 83.20) ms-1.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.09 ± (16.08 - 16.11) MB16.15 ± (16.12 - 16.18) MB+0.4%✅⬆️
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.8%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms434.55 ± (431.19 - 437.91) ms429.24 ± (426.38 - 432.11) ms-1.2%
process.time_to_main_ms479.14 ± (478.36 - 479.92) ms474.99 ± (474.31 - 475.67) ms-0.9%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.55 ± (58.42 - 58.68) MB58.91 ± (58.79 - 59.03) MB+0.6%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms195.67 ± (195.17 - 196.16) ms192.78 ± (192.38 - 193.19) ms-1.5%
process.time_to_main_ms71.82 ± (71.61 - 72.02) ms70.75 ± (70.51 - 70.98) ms-1.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.29 ± (16.27 - 16.31) MB16.46 ± (16.43 - 16.49) MB+1.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.7%
.NET 6 - Bailout
process.internal_duration_ms194.44 ± (194.00 - 194.88) ms191.29 ± (190.94 - 191.65) ms-1.6%
process.time_to_main_ms72.60 ± (72.39 - 72.81) ms71.51 ± (71.36 - 71.66) ms-1.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.29 - 16.38) MB16.20 ± (16.06 - 16.34) MB-0.8%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-1.3%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms448.33 ± (445.35 - 451.31) ms445.41 ± (442.04 - 448.77) ms-0.7%
process.time_to_main_ms458.30 ± (457.50 - 459.10) ms453.91 ± (453.39 - 454.43) ms-1.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed59.07 ± (58.95 - 59.20) MB58.89 ± (58.76 - 59.03) MB-0.3%
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.0%
.NET 8 - Baseline
process.internal_duration_ms199.20 ± (198.71 - 199.68) ms190.09 ± (189.78 - 190.40) ms-4.6%
process.time_to_main_ms72.99 ± (72.77 - 73.22) ms70.17 ± (69.99 - 70.35) ms-3.9%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.67 - 11.70) MB11.74 ± (11.72 - 11.77) MB+0.5%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-1.1%
.NET 8 - Bailout
process.internal_duration_ms196.09 ± (195.58 - 196.61) ms189.90 ± (189.66 - 190.14) ms-3.2%
process.time_to_main_ms73.21 ± (72.98 - 73.43) ms71.25 ± (71.12 - 71.38) ms-2.7%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.73 ± (11.71 - 11.74) MB11.80 ± (11.77 - 11.82) MB+0.6%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-1.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms367.33 ± (366.05 - 368.62) ms367.34 ± (365.95 - 368.72) ms+0.0%✅⬆️
process.time_to_main_ms438.15 ± (437.26 - 439.05) ms438.08 ± (437.46 - 438.69) ms-0.0%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.18 ± (48.15 - 48.21) MB48.23 ± (48.20 - 48.27) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)28 ± (28 - 29)-1.4%
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 (8085) - mean (69ms)  : 67, 70
    master - mean (69ms)  : 67, 70

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

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (1,018ms)  : 946, 1090
    master - mean (1,011ms)  : 947, 1075

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 (8085) - mean (107ms)  : 103, 110
    master - mean (106ms)  : 104, 108

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

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (749ms)  : 689, 810
    master - mean (741ms)  : 692, 791

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

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

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (723ms)  : 673, 772
    master - mean (722ms)  : 684, 761

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

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

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (641ms)  : 623, 659
    master - mean (636ms)  : 623, 649

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 (8085) - mean (195ms)  : 190, 199
    master - mean (196ms)  : 191, 200

    section Bailout
    This PR (8085) - mean (198ms)  : 195, 201
    master - mean (199ms)  : 195, 203

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (1,137ms)  : 1060, 1213
    master - mean (1,135ms)  : 1071, 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 (8085) - mean (279ms)  : 273, 285
    master - mean (280ms)  : 273, 287

    section Bailout
    This PR (8085) - mean (279ms)  : 274, 284
    master - mean (284ms)  : 273, 294

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (934ms)  : 895, 973
    master - mean (946ms)  : 903, 989

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8085) - mean (272ms)  : 266, 277
    master - mean (276ms)  : 266, 285

    section Bailout
    This PR (8085) - mean (271ms)  : 267, 275
    master - mean (276ms)  : 268, 284

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (927ms)  : 877, 978
    master - mean (935ms)  : 874, 996

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8085) - mean (270ms)  : 265, 275
    master - mean (282ms)  : 272, 292

    section Bailout
    This PR (8085) - mean (271ms)  : 267, 275
    master - mean (279ms)  : 269, 290

    section CallTarget+Inlining+NGEN
    This PR (8085) - mean (837ms)  : 810, 864
    master - mean (837ms)  : 816, 859

Loading

@kathiehuang kathiehuang merged commit e1c6961 into master Jan 21, 2026
151 checks passed
@kathiehuang kathiehuang deleted the kathie.huang/update-datadog-serverless-compat branch January 21, 2026 19:45
@github-actions github-actions bot added this to the vNext-v3 milestone Jan 21, 2026
@lucaspimentel lucaspimentel changed the title Update Datadog.Serverless.Compat version [Azure Functions] Update Datadog.Serverless.Compat version Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants