Skip to content

Remove unnecessary use of duck typing in HTTP integrations#8275

Merged
andrewlock merged 5 commits into
masterfrom
andrew/remove-http-ducktypes
Mar 13, 2026
Merged

Remove unnecessary use of duck typing in HTTP integrations#8275
andrewlock merged 5 commits into
masterfrom
andrew/remove-http-ducktypes

Conversation

@andrewlock

@andrewlock andrewlock commented Mar 6, 2026

Copy link
Copy Markdown
Member

Summary of changes

Removes unnecessary use of duck typing in HTTP integrations

Reason for change

We're currently always using duck typing in the various HTTP integrations, but these types are always unconditionally available in .NET Core (and we already reference those assemblies), so the duck typing is an unnecessary layer that will reduce performance for no benefit.

Implementation details

#if our way to glory on the HTTP (and one of the gRPC) integrations. If we're on .NET Core, these types are available, so we just use them

Test coverage

Just a refactoring, so all the existing tests should cover this change.

Hopefully we'll see some tiny movement on the benchmarks, but I don't hold out a huge amount of hope for that. Either way, I think this change can only be an improvement, so is worth it.

Other details

Deleted the excessive comments on our integrations, seeing as they're just noise and don't tell us much (we exclude them by default on new integrations now)

One very interesting point - we can't reference the "well known types" directly in the integrations, because this causes failures when there are multiple Assembly Load Contexts. This is kinda surprising, but something to bear in mind, and something we potentially need to look into elsewhere too...

@andrewlock
andrewlock requested a review from a team as a code owner March 6, 2026 16:24
@andrewlock
andrewlock requested a review from a team as a code owner March 6, 2026 16:24
@andrewlock andrewlock added the type:performance Performance, speed, latency, resource usage (CPU, memory) label Mar 6, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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: b8972af334

ℹ️ 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".

@andrewlock
andrewlock force-pushed the andrew/remove-http-ducktypes branch from b8972af to cb0d3e6 Compare March 6, 2026 16:38
@pr-commenter

pr-commenter Bot commented Mar 6, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-03-10 14:29:57

Comparing candidate commit 6930a63 in PR branch andrew/remove-http-ducktypes with baseline commit f05ab32 in branch master.

Found 13 performance improvements and 5 performance regressions! Performance is the same for 161 metrics, 13 unstable metrics.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-5217.367op/s; -4833.392op/s] or [-5.923%; -5.487%]

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

  • 🟥 execution_time [+79.785ms; +82.721ms] or [+65.488%; +67.899%]

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

  • 🟩 execution_time [-107.548ms; -107.043ms] or [-49.786%; -49.553%]

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

  • 🟩 execution_time [-22.963ms; -16.614ms] or [-10.580%; -7.655%]

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

  • 🟩 execution_time [-101.183ms; -97.628ms] or [-50.167%; -48.405%]

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

  • 🟩 execution_time [-988.730µs; -730.205µs] or [-35.613%; -26.301%]

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

  • 🟩 execution_time [-248.159µs; -201.015µs] or [-11.405%; -9.238%]
  • 🟩 throughput [+48.027op/s; +57.408op/s] or [+10.446%; +12.487%]

scenario:Benchmarks.Trace.DbCommandBenchmark.ExecuteNonQuery netcoreapp3.1

  • 🟩 throughput [+20540.600op/s; +28500.272op/s] or [+5.590%; +7.756%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • 🟩 throughput [+15512.348op/s; +16646.803op/s] or [+5.126%; +5.501%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟩 throughput [+15233.836op/s; +16638.921op/s] or [+5.224%; +5.706%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟩 throughput [+13081.381op/s; +16418.634op/s] or [+9.229%; +11.584%]

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

  • 🟩 execution_time [-31.500ms; -30.310ms] or [-15.881%; -15.281%]

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

  • 🟩 throughput [+10524.131op/s; +13219.290op/s] or [+5.466%; +6.865%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • 🟩 throughput [+18851.410op/s; +21777.622op/s] or [+5.287%; +6.108%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • 🟥 throughput [-10750.149op/s; -9981.868op/s] or [-6.987%; -6.488%]

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

  • 🟥 throughput [-19949135.814op/s; -18851835.531op/s] or [-8.156%; -7.707%]

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

  • 🟥 execution_time [+12.358ms; +17.875ms] or [+6.289%; +9.097%]

@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Mar 6, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8275) 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
duration75.12 ± (75.05 - 75.35) ms76.85 ± (76.80 - 77.13) ms+2.3%✅⬆️
.NET Framework 4.8 - Bailout
duration79.35 ± (79.17 - 79.54) ms81.40 ± (81.35 - 81.76) ms+2.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1081.38 ± (1083.35 - 1089.64) ms1102.92 ± (1102.40 - 1107.33) ms+2.0%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.83 ± (22.78 - 22.89) ms23.38 ± (23.33 - 23.43) ms+2.4%✅⬆️
process.time_to_main_ms85.55 ± (85.36 - 85.75) ms90.10 ± (89.88 - 90.32) ms+5.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.92) MB10.92 ± (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.70 ± (22.65 - 22.75) ms23.25 ± (23.19 - 23.31) ms+2.4%✅⬆️
process.time_to_main_ms87.37 ± (87.16 - 87.58) ms90.76 ± (90.53 - 90.99) ms+3.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.95 ± (10.94 - 10.95) MB10.95 ± (10.94 - 10.95) MB+0.0%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms248.53 ± (244.48 - 252.58) ms227.08 ± (225.64 - 228.52) ms-8.6%
process.time_to_main_ms490.81 ± (490.09 - 491.53) ms507.46 ± (506.59 - 508.33) ms+3.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed47.59 ± (47.57 - 47.61) MB47.25 ± (47.22 - 47.28) MB-0.7%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.1%
.NET 6 - Baseline
process.internal_duration_ms21.70 ± (21.66 - 21.73) ms22.49 ± (22.44 - 22.53) ms+3.6%✅⬆️
process.time_to_main_ms76.02 ± (75.84 - 76.19) ms79.84 ± (79.66 - 80.02) ms+5.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.64 ± (10.63 - 10.64) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.69 ± (21.64 - 21.74) ms22.16 ± (22.12 - 22.21) ms+2.2%✅⬆️
process.time_to_main_ms77.10 ± (76.91 - 77.29) ms79.71 ± (79.53 - 79.90) ms+3.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.74 ± (10.73 - 10.74) MB10.75 ± (10.75 - 10.76) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms252.78 ± (249.04 - 256.52) ms221.62 ± (220.20 - 223.04) ms-12.3%
process.time_to_main_ms476.80 ± (476.18 - 477.42) ms490.54 ± (489.78 - 491.29) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.31 ± (48.28 - 48.33) MB47.96 ± (47.94 - 47.98) MB-0.7%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.84 ± (19.80 - 19.88) ms20.34 ± (20.29 - 20.38) ms+2.5%✅⬆️
process.time_to_main_ms74.96 ± (74.80 - 75.13) ms77.42 ± (77.18 - 77.65) ms+3.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.66 ± (7.66 - 7.67) MB7.68 ± (7.67 - 7.68) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.91 ± (19.85 - 19.96) ms20.47 ± (20.42 - 20.53) ms+2.8%✅⬆️
process.time_to_main_ms76.13 ± (75.94 - 76.33) ms79.36 ± (79.16 - 79.57) ms+4.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.74 ± (7.73 - 7.75) MB7.73 ± (7.72 - 7.74) MB-0.1%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms191.96 ± (191.30 - 192.61) ms168.86 ± (168.17 - 169.55) ms-12.0%
process.time_to_main_ms456.83 ± (456.15 - 457.51) ms469.92 ± (469.22 - 470.62) ms+2.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.07 ± (36.03 - 36.11) MB35.60 ± (35.58 - 35.62) MB-1.3%
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (26 - 27)-0.5%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration193.52 ± (193.07 - 193.89) ms198.00 ± (197.44 - 198.36) ms+2.3%✅⬆️
.NET Framework 4.8 - Bailout
duration197.27 ± (197.06 - 197.53) ms200.39 ± (200.11 - 200.76) ms+1.6%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1156.60 ± (1159.73 - 1169.08) ms1163.55 ± (1164.95 - 1173.43) ms+0.6%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms188.36 ± (187.93 - 188.79) ms189.26 ± (188.88 - 189.63) ms+0.5%✅⬆️
process.time_to_main_ms81.63 ± (81.42 - 81.84) ms82.44 ± (82.18 - 82.70) ms+1.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.14 ± (16.11 - 16.17) MB16.14 ± (16.11 - 16.17) MB-0.0%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.3%
.NET Core 3.1 - Bailout
process.internal_duration_ms188.79 ± (188.35 - 189.23) ms188.80 ± (188.41 - 189.19) ms+0.0%✅⬆️
process.time_to_main_ms83.03 ± (82.81 - 83.25) ms83.60 ± (83.39 - 83.81) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.18 ± (16.16 - 16.21) MB16.24 ± (16.21 - 16.27) MB+0.4%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)+0.0%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms438.28 ± (435.37 - 441.20) ms397.09 ± (395.01 - 399.18) ms-9.4%
process.time_to_main_ms476.88 ± (476.32 - 477.45) ms480.47 ± (479.84 - 481.10) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed57.93 ± (57.81 - 58.04) MB57.86 ± (57.67 - 58.04) MB-0.1%
runtime.dotnet.threads.count29 ± (29 - 29)30 ± (30 - 30)+0.5%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms193.40 ± (192.97 - 193.83) ms194.51 ± (194.10 - 194.92) ms+0.6%✅⬆️
process.time_to_main_ms70.93 ± (70.74 - 71.12) ms71.47 ± (71.24 - 71.70) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.32 ± (16.22 - 16.41) MB16.38 ± (16.35 - 16.41) MB+0.4%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+1.1%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms194.02 ± (193.53 - 194.51) ms194.24 ± (193.77 - 194.71) ms+0.1%✅⬆️
process.time_to_main_ms72.66 ± (72.46 - 72.86) ms72.40 ± (72.19 - 72.60) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.44 ± (16.41 - 16.47) MB16.42 ± (16.38 - 16.45) MB-0.1%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)-0.4%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms450.02 ± (448.03 - 452.01) ms428.11 ± (426.57 - 429.66) ms-4.9%
process.time_to_main_ms453.60 ± (453.08 - 454.12) ms455.73 ± (454.91 - 456.55) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.05 ± (57.96 - 58.15) MB59.29 ± (59.20 - 59.38) MB+2.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 29)-0.1%
.NET 8 - Baseline
process.internal_duration_ms190.91 ± (190.47 - 191.36) ms193.02 ± (192.65 - 193.40) ms+1.1%✅⬆️
process.time_to_main_ms70.34 ± (70.12 - 70.56) ms71.38 ± (71.16 - 71.59) ms+1.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.78 ± (11.75 - 11.81) MB11.75 ± (11.73 - 11.77) MB-0.3%
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.3%
.NET 8 - Bailout
process.internal_duration_ms190.52 ± (190.17 - 190.87) ms191.07 ± (190.76 - 191.38) ms+0.3%✅⬆️
process.time_to_main_ms71.50 ± (71.35 - 71.66) ms71.91 ± (71.76 - 72.06) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.79 ± (11.76 - 11.82) MB11.82 ± (11.80 - 11.84) MB+0.3%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.3%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms366.50 ± (364.88 - 368.13) ms355.41 ± (354.18 - 356.64) ms-3.0%
process.time_to_main_ms435.92 ± (435.08 - 436.76) ms440.72 ± (439.94 - 441.51) ms+1.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed47.79 ± (47.75 - 47.83) MB47.72 ± (47.69 - 47.76) MB-0.1%
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 (8275) - mean (77ms)  : 74, 79
    master - mean (75ms)  : 73, 77

    section Bailout
    This PR (8275) - mean (82ms)  : 80, 84
    master - mean (79ms)  : 77, 81

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (1,105ms)  : 1072, 1138
    master - mean (1,086ms)  : 1041, 1132

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 (8275) - mean (121ms)  : 117, 125
    master - mean (116ms)  : 113, 119

    section Bailout
    This PR (8275) - mean (121ms)  : 118, 124
    master - mean (117ms)  : 114, 121

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (775ms)  : 750, 799
    master - mean (776ms)  : 715, 837

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8275) - mean (109ms)  : 106, 113
    master - mean (104ms)  : 100, 108

    section Bailout
    This PR (8275) - mean (109ms)  : 106, 111
    master - mean (106ms)  : 103, 108

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (746ms)  : 702, 790
    master - mean (765ms)  : 695, 835

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8275) - mean (106ms)  : 102, 110
    master - mean (103ms)  : 99, 106

    section Bailout
    This PR (8275) - mean (108ms)  : 105, 111
    master - mean (104ms)  : 102, 106

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (671ms)  : 647, 695
    master - mean (681ms)  : 655, 707

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 (8275) - mean (198ms)  : 193, 203
    master - mean (193ms)  : 189, 198

    section Bailout
    This PR (8275) - mean (200ms)  : 197, 204
    master - mean (197ms)  : 195, 199

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (1,169ms)  : 1107, 1231
    master - mean (1,164ms)  : 1092, 1237

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 (8275) - mean (281ms)  : 276, 286
    master - mean (278ms)  : 273, 284

    section Bailout
    This PR (8275) - mean (281ms)  : 277, 286
    master - mean (280ms)  : 274, 287

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (911ms)  : 882, 939
    master - mean (948ms)  : 906, 989

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8275) - mean (274ms)  : 268, 281
    master - mean (273ms)  : 267, 279

    section Bailout
    This PR (8275) - mean (275ms)  : 269, 281
    master - mean (275ms)  : 266, 284

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (916ms)  : 886, 947
    master - mean (936ms)  : 903, 970

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8275) - mean (275ms)  : 269, 280
    master - mean (271ms)  : 264, 277

    section Bailout
    This PR (8275) - mean (273ms)  : 269, 277
    master - mean (272ms)  : 268, 276

    section CallTarget+Inlining+NGEN
    This PR (8275) - mean (829ms)  : 805, 853
    master - mean (835ms)  : 815, 855

Loading

@andrewlock
andrewlock force-pushed the andrew/remove-http-ducktypes branch from 20de0d5 to 3174d5a Compare March 9, 2026 10:53

@NachoEchevarria NachoEchevarria left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice!

@andrewlock
andrewlock merged commit 9737ced into master Mar 13, 2026
139 checks passed
@andrewlock
andrewlock deleted the andrew/remove-http-ducktypes branch March 13, 2026 09:54
@github-actions github-actions Bot added this to the vNext-v3 milestone Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:integrations type:performance Performance, speed, latency, resource usage (CPU, memory) type:refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants