Skip to content

feat(aot): add DuckType and CallTarget NativeAOT workflows#8383

Draft
tonyredondo wants to merge 6 commits intocodex/ducktyping-nativeaotfrom
feat/calltarget-nativeaot-adapters
Draft

feat(aot): add DuckType and CallTarget NativeAOT workflows#8383
tonyredondo wants to merge 6 commits intocodex/ducktyping-nativeaotfrom
feat/calltarget-nativeaot-adapters

Conversation

@tonyredondo
Copy link
Copy Markdown
Member

Summary of changes

  • add a publish-integrated NativeAOT workflow for CallTarget auto-instrumentation
  • add the generated registry, manifest, rewrite-plan, props, targets, and compatibility artifacts for calltarget-aot
  • add the runtime CallTarget AOT registration path, contract validation, and single-registry enforcement
  • add generated adapter support for begin, slow-begin, end, Task/Task<T>, and ValueTask/ValueTask<T> paths
  • integrate DuckType AOT for constrained instance, argument, return, and async-result bindings
  • add focused docs and NativeAOT test coverage for the new workflow

Reason for change

CallTarget currently depends on runtime IL emission, which is not compatible with NativeAOT. This branch moves the required adapter generation to build time and wires the generated registry into dotnet publish /p:PublishAot=true so the runtime can execute pre-registered handlers without emitting IL.

Implementation details

  • keep the existing dynamic IntegrationMapper path for normal JIT runtimes
  • add the new dd-trace calltarget-aot generate public workflow and the internal rewrite step consumed by generated MSBuild targets
  • discover InstrumentMethodAttribute definitions directly from Datadog.Trace
  • match supported target methods, record unsupported shapes with explicit diagnostics, and emit compatibility/reporting artifacts
  • rewrite the compiled app assembly and selected references so their module initializers root the generated CallTarget registry bootstrap during publish/runtime
  • add runtime AOT registration, contract validation, and failure behavior in Datadog.Trace
  • integrate the DuckType AOT companion registry when matched bindings require generated proxies

Test coverage

Verified locally with focused gates:

  • dotnet build tracer/src/Datadog.Trace.Tools.Runner/Datadog.Trace.Tools.Runner.csproj -c Release --no-restore /m:1 /nodeReuse:false
  • dotnet build tracer/test/Datadog.Trace.Tools.Runner.Tests/Datadog.Trace.Tools.Runner.Tests.csproj -c Release --framework net8.0 --no-restore /m:1 /nodeReuse:false
  • DOTNET_ROLL_FORWARD=Major DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet test tracer/test/Datadog.Trace.Tools.Runner.Tests/Datadog.Trace.Tools.Runner.Tests.csproj -c Release --framework net8.0 --no-build --filter FullyQualifiedName~CallTargetAotGenerateProcessorTests /m:1
  • DD_TRACE_TOOLS_VERBOSE_ERRORS=1 DOTNET_ROLL_FORWARD=Major DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet test tracer/test/Datadog.Trace.Tools.Runner.Tests/Datadog.Trace.Tools.Runner.Tests.csproj -c Release --framework net8.0 --no-build --filter FullyQualifiedName~CallTargetAotNativeAotPublishIntegrationTests /m:1
  • DOTNET_ROLL_FORWARD=Major DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet test tracer/test/Datadog.Trace.Tests/Datadog.Trace.Tests.csproj -c Release --framework net8.0 --filter FullyQualifiedName~CallTargetAotEngineTests /m:1

Other details

This branch is based on master and includes the earlier DuckType NativeAOT work that CallTarget AOT depends on.

@tonyredondo tonyredondo changed the base branch from master to codex/ducktyping-nativeaot March 27, 2026 13:58
@tonyredondo tonyredondo force-pushed the feat/calltarget-nativeaot-adapters branch from cceeae7 to bd26023 Compare March 27, 2026 14:25
@tonyredondo tonyredondo added the type:enhancement Improvement to an existing feature label Mar 27, 2026
@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Mar 27, 2026

Benchmarks

Benchmark execution time: 2026-03-27 17:51:48

Comparing candidate commit 218d0a8 in PR branch feat/calltarget-nativeaot-adapters with baseline commit 017e910 in branch master.

Found 7 performance improvements and 8 performance regressions! Performance is the same for 254 metrics, 19 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟩 execution_time [-24.849ms; -24.631ms] or [-19.558%; -19.387%]

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

  • 🟩 execution_time [-18.704ms; -15.199ms] or [-8.735%; -7.098%]

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

  • 🟥 execution_time [+11.894ms; +16.839ms] or [+6.026%; +8.532%]

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

  • 🟥 execution_time [+14.650ms; +20.766ms] or [+7.280%; +10.319%]

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

  • 🟩 execution_time [-21.721ms; -20.907ms] or [-10.740%; -10.337%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • 🟩 execution_time [-21.862ms; -18.091ms] or [-9.700%; -8.027%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+27.642ms; +36.288ms] or [+15.553%; +20.418%]
  • 🟩 throughput [+132.357op/s; +196.344op/s] or [+9.185%; +13.625%]

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

  • 🟥 execution_time [+37.752ms; +42.095ms] or [+24.533%; +27.356%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • 🟥 execution_time [+321.977µs; +368.669µs] or [+16.533%; +18.930%]
  • 🟥 throughput [-82.092op/s; -71.884op/s] or [-15.987%; -13.999%]

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

  • 🟩 execution_time [-917.036µs; -682.787µs] or [-32.656%; -24.314%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • 🟥 throughput [-5361.688op/s; -3190.383op/s] or [-22.351%; -13.300%]

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

  • 🟩 execution_time [-31.539ms; -29.268ms] or [-15.655%; -14.528%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • 🟥 throughput [-49116.647op/s; -47504.344op/s] or [-5.177%; -5.007%]

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

dd-trace-dotnet-ci-bot bot commented Mar 27, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8383) 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
duration71.85 ± (72.05 - 72.56) ms72.05 ± (72.03 - 72.34) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration76.03 ± (75.86 - 76.21) ms75.88 ± (75.77 - 76.11) ms-0.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1074.50 ± (1074.37 - 1080.06) ms1080.16 ± (1082.53 - 1089.80) ms+0.5%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.19 ± (22.15 - 22.23) ms22.16 ± (22.13 - 22.20) ms-0.1%
process.time_to_main_ms83.62 ± (83.42 - 83.83) ms83.70 ± (83.49 - 83.91) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.91 ± (10.91 - 10.91) MB10.84 ± (10.84 - 10.85) MB-0.6%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.15 ± (22.12 - 22.19) ms22.20 ± (22.16 - 22.23) ms+0.2%✅⬆️
process.time_to_main_ms84.63 ± (84.45 - 84.82) ms85.27 ± (85.06 - 85.48) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.94 ± (10.94 - 10.95) 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_ms224.64 ± (223.32 - 225.96) ms225.23 ± (224.02 - 226.43) ms+0.3%✅⬆️
process.time_to_main_ms533.56 ± (532.39 - 534.73) ms536.00 ± (534.90 - 537.10) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.28 ± (48.25 - 48.31) MB48.96 ± (48.93 - 48.99) MB+1.4%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms21.09 ± (21.05 - 21.12) ms21.03 ± (20.99 - 21.06) ms-0.3%
process.time_to_main_ms72.59 ± (72.42 - 72.76) ms72.53 ± (72.35 - 72.71) ms-0.1%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.63 ± (10.63 - 10.64) MB+0.2%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.85 ± (20.82 - 20.89) ms20.75 ± (20.72 - 20.79) ms-0.5%
process.time_to_main_ms73.07 ± (72.90 - 73.25) ms72.77 ± (72.61 - 72.93) ms-0.4%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.71 - 10.72) MB10.73 ± (10.73 - 10.74) MB+0.2%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms384.19 ± (381.83 - 386.56) ms385.74 ± (383.52 - 387.96) ms+0.4%✅⬆️
process.time_to_main_ms535.58 ± (534.59 - 536.57) ms535.80 ± (534.82 - 536.77) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed50.25 ± (50.23 - 50.28) MB50.50 ± (50.47 - 50.53) MB+0.5%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms19.18 ± (19.15 - 19.22) ms19.27 ± (19.23 - 19.31) ms+0.5%✅⬆️
process.time_to_main_ms71.24 ± (71.07 - 71.40) ms71.87 ± (71.71 - 72.02) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.67 - 7.68) MB7.71 ± (7.70 - 7.72) MB+0.5%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.34 ± (19.31 - 19.38) ms19.40 ± (19.35 - 19.44) ms+0.3%✅⬆️
process.time_to_main_ms72.70 ± (72.52 - 72.88) ms73.29 ± (73.11 - 73.47) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.71 ± (7.70 - 7.71) MB7.74 ± (7.74 - 7.75) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms310.04 ± (307.64 - 312.45) ms308.72 ± (306.48 - 310.97) ms-0.4%
process.time_to_main_ms491.11 ± (490.27 - 491.94) ms492.67 ± (491.95 - 493.40) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.23 ± (37.21 - 37.25) MB37.37 ± (37.35 - 37.39) MB+0.4%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.1%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration225.79 ± (224.44 - 226.61) ms216.60 ± (215.89 - 217.11) ms-4.1%
.NET Framework 4.8 - Bailout
duration229.52 ± (229.11 - 231.12) ms220.73 ± (220.39 - 221.56) ms-3.8%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1256.83 ± (1254.07 - 1260.78) ms1256.05 ± (1255.72 - 1262.92) ms-0.1%
.NET Core 3.1 - Baseline
process.internal_duration_ms218.20 ± (217.20 - 219.21) ms212.26 ± (211.50 - 213.02) ms-2.7%
process.time_to_main_ms92.93 ± (92.55 - 93.30) ms91.28 ± (90.97 - 91.59) ms-1.8%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed15.87 ± (15.85 - 15.88) MB15.98 ± (15.97 - 16.00) MB+0.7%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.1%✅⬆️
.NET Core 3.1 - Bailout
process.internal_duration_ms218.63 ± (217.71 - 219.56) ms212.36 ± (211.49 - 213.23) ms-2.9%
process.time_to_main_ms94.42 ± (94.09 - 94.76) ms92.55 ± (92.28 - 92.83) ms-2.0%
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.2%✅⬆️
runtime.dotnet.mem.committed15.86 ± (15.85 - 15.88) MB15.95 ± (15.93 - 15.96) MB+0.5%✅⬆️
runtime.dotnet.threads.count21 ± (21 - 21)21 ± (21 - 21)-0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms422.11 ± (420.60 - 423.62) ms421.77 ± (420.30 - 423.24) ms-0.1%
process.time_to_main_ms566.58 ± (565.38 - 567.78) ms570.98 ± (569.63 - 572.34) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.11 ± (59.06 - 59.16) MB59.82 ± (59.77 - 59.86) MB+1.2%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.1%
.NET 6 - Baseline
process.internal_duration_ms217.90 ± (217.17 - 218.62) ms216.93 ± (216.28 - 217.58) ms-0.4%
process.time_to_main_ms79.32 ± (79.09 - 79.55) ms79.06 ± (78.83 - 79.30) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.14 - 16.17) MB16.16 ± (16.15 - 16.18) MB+0.0%✅⬆️
runtime.dotnet.threads.count20 ± (19 - 20)20 ± (19 - 20)+0.2%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms216.42 ± (215.86 - 216.98) ms220.34 ± (219.42 - 221.27) ms+1.8%✅⬆️
process.time_to_main_ms80.49 ± (80.29 - 80.69) ms80.52 ± (80.25 - 80.79) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.20 ± (16.18 - 16.21) MB16.13 ± (16.12 - 16.15) MB-0.4%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (20 - 21)-0.1%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms603.38 ± (599.95 - 606.80) ms610.88 ± (606.44 - 615.33) ms+1.2%✅⬆️
process.time_to_main_ms572.43 ± (571.32 - 573.54) ms575.82 ± (574.50 - 577.14) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.64 ± (61.56 - 61.73) MB61.99 ± (61.91 - 62.08) MB+0.6%✅⬆️
runtime.dotnet.threads.count31 ± (31 - 31)31 ± (31 - 31)+0.3%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms219.36 ± (218.52 - 220.20) ms215.10 ± (214.39 - 215.81) ms-1.9%
process.time_to_main_ms79.18 ± (78.94 - 79.43) ms78.00 ± (77.79 - 78.21) ms-1.5%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.53 ± (11.51 - 11.55) MB11.48 ± (11.47 - 11.50) MB-0.4%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 8 - Bailout
process.internal_duration_ms217.53 ± (216.80 - 218.25) ms216.96 ± (216.00 - 217.93) ms-0.3%
process.time_to_main_ms79.89 ± (79.70 - 80.08) ms80.02 ± (79.74 - 80.30) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.55 ± (11.54 - 11.57) MB11.52 ± (11.51 - 11.54) MB-0.3%
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.0%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms608.90 ± (602.46 - 615.35) ms603.44 ± (596.89 - 609.99) ms-0.9%
process.time_to_main_ms524.96 ± (524.04 - 525.88) ms531.83 ± (530.78 - 532.88) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed51.85 ± (51.78 - 51.93) MB51.82 ± (51.74 - 51.90) MB-0.1%
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.0%✅⬆️
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 (8383) - mean (72ms)  : 70, 74
    master - mean (72ms)  : 68, 76

    section Bailout
    This PR (8383) - mean (76ms)  : 74, 78
    master - mean (76ms)  : 74, 78

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (1,086ms)  : 1033, 1139
    master - mean (1,077ms)  : 1036, 1118

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 (8383) - mean (113ms)  : 108, 117
    master - mean (113ms)  : 109, 116

    section Bailout
    This PR (8383) - mean (114ms)  : 110, 118
    master - mean (113ms)  : 110, 117

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (800ms)  : 781, 819
    master - mean (794ms)  : 773, 815

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

    section Bailout
    This PR (8383) - mean (100ms)  : 98, 102
    master - mean (100ms)  : 97, 103

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (950ms)  : 916, 984
    master - mean (948ms)  : 912, 984

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8383) - mean (99ms)  : 96, 102
    master - mean (98ms)  : 95, 101

    section Bailout
    This PR (8383) - mean (100ms)  : 98, 103
    master - mean (100ms)  : 97, 102

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (832ms)  : 790, 874
    master - mean (834ms)  : 796, 871

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 (8383) - mean (217ms)  : 208, 225
    master - mean (226ms)  : 210, 241

    section Bailout
    This PR (8383) - mean (221ms)  : 213, 229
    master - mean (230ms)  : 215, 245

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (1,259ms)  : 1208, 1310
    master - mean (1,257ms)  : 1210, 1305

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 (8383) - mean (314ms)  : 299, 328
    master - mean (321ms)  : 300, 342

    section Bailout
    This PR (8383) - mean (315ms)  : 298, 333
    master - mean (324ms)  : 303, 345

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (1,033ms)  : 1003, 1063
    master - mean (1,030ms)  : 1000, 1060

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8383) - mean (305ms)  : 294, 317
    master - mean (306ms)  : 292, 321

    section Bailout
    This PR (8383) - mean (310ms)  : 293, 328
    master - mean (306ms)  : 296, 316

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (1,220ms)  : 1150, 1289
    master - mean (1,206ms)  : 1155, 1257

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8383) - mean (304ms)  : 289, 320
    master - mean (311ms)  : 292, 329

    section Bailout
    This PR (8383) - mean (309ms)  : 287, 331
    master - mean (308ms)  : 295, 321

    section CallTarget+Inlining+NGEN
    This PR (8383) - mean (1,171ms)  : 1074, 1267
    master - mean (1,169ms)  : 1076, 1261

Loading

@tonyredondo tonyredondo force-pushed the feat/calltarget-nativeaot-adapters branch from 3a04749 to 218d0a8 Compare March 27, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:enhancement Improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant