Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Build tracer with ReadyToRun #5962

Merged
merged 40 commits into from
Sep 6, 2024

Conversation

duncanista
Copy link
Contributor

Summary of changes

Allows tracer publishing to be compiled with ReadyToRun to improve Serverless workloads init duration.

Reason for change

It has showcased a 500ms init duration improvement for AWS Lambda. Potentially could be used for other workloads in the future.

Implementation details

Followed #4573 and ReadyToRun docs.

Test coverage

  • TBD
  • Tested manually in AWS Lambda.

Other details

Increases tracer size by 3x.

@duncanista duncanista requested a review from a team as a code owner August 29, 2024 17:43
@github-actions github-actions bot added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Aug 29, 2024
@datadog-ddstaging
Copy link

datadog-ddstaging bot commented Aug 29, 2024

Datadog Report

Branch report: jordan.gonzalez/ready-to-run/linux-deb
Commit report: 39efff1
Test service: dd-trace-dotnet

✅ 0 Failed, 361235 Passed, 2074 Skipped, 14h 42m 10.48s Total Time

@andrewlock
Copy link
Member

andrewlock commented Aug 29, 2024

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing the following branches/commits:

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 shown 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).

gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (70ms)  : 67, 73
     .   : milestone, 70,
    master - mean (70ms)  : 66, 74
     .   : milestone, 70,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (1,080ms)  : 1057, 1102
     .   : milestone, 1080,
    master - mean (1,084ms)  : 1061, 1107
     .   : milestone, 1084,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (110ms)  : 104, 115
     .   : milestone, 110,
    master - mean (109ms)  : 105, 112
     .   : milestone, 109,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (759ms)  : 744, 774
     .   : milestone, 759,
    master - mean (763ms)  : 740, 786
     .   : milestone, 763,

Loading
gantt
    title Execution time (ms) FakeDbCommand (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (93ms)  : 88, 97
     .   : milestone, 93,
    master - mean (93ms)  : 89, 97
     .   : milestone, 93,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (710ms)  : 691, 729
     .   : milestone, 710,
    master - mean (714ms)  : 694, 733
     .   : milestone, 714,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.6.2) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (191ms)  : 187, 194
     .   : milestone, 191,
    master - mean (191ms)  : 188, 195
     .   : milestone, 191,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (1,159ms)  : 1128, 1190
     .   : milestone, 1159,
    master - mean (1,165ms)  : 1136, 1193
     .   : milestone, 1165,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (276ms)  : 271, 280
     .   : milestone, 276,
    master - mean (275ms)  : 271, 279
     .   : milestone, 275,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (919ms)  : 899, 939
     .   : milestone, 919,
    master - mean (923ms)  : 898, 948
     .   : milestone, 923,

Loading
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6) 
    dateFormat  X
    axisFormat %s
    todayMarker off
    section Baseline
    This PR (5962) - mean (265ms)  : 260, 270
     .   : milestone, 265,
    master - mean (265ms)  : 260, 270
     .   : milestone, 265,

    section CallTarget+Inlining+NGEN
    This PR (5962) - mean (906ms)  : 889, 923
     .   : milestone, 906,
    master - mean (906ms)  : 884, 929
     .   : milestone, 906,

Loading

@andrewlock
Copy link
Member

andrewlock commented Aug 29, 2024

Benchmarks Report for tracer 🐌

Benchmarks for #5962 compared to master:

  • All benchmarks have the same speed
  • All benchmarks have the same allocations

The following thresholds were used for comparing the benchmark speeds:

  • Mann–Whitney U test with statistical test for significance of 5%
  • Only results indicating a difference greater than 10% and 0.3 ns are considered.

Allocation changes below 0.5% are ignored.

Benchmark details

Benchmarks.Trace.ActivityBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartStopWithChild net6.0 7.67μs 42.7ns 290ns 0.0179 0.00716 0 5.43 KB
master StartStopWithChild netcoreapp3.1 9.96μs 56.2ns 394ns 0.0195 0.00973 0 5.62 KB
master StartStopWithChild net472 16.2μs 33.9ns 127ns 1.01 0.295 0.0957 6.07 KB
#5962 StartStopWithChild net6.0 7.49μs 38.8ns 182ns 0.0152 0.00759 0 5.43 KB
#5962 StartStopWithChild netcoreapp3.1 9.94μs 56.8ns 410ns 0.0192 0.00959 0 5.62 KB
#5962 StartStopWithChild net472 16.5μs 43.6ns 169ns 1.03 0.309 0.0976 6.07 KB
Benchmarks.Trace.AgentWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 462μs 314ns 1.13μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 631μs 601ns 2.25μs 0 0 0 2.7 KB
master WriteAndFlushEnrichedTraces net472 831μs 359ns 1.39μs 0.414 0 0 3.3 KB
#5962 WriteAndFlushEnrichedTraces net6.0 477μs 349ns 1.35μs 0 0 0 2.7 KB
#5962 WriteAndFlushEnrichedTraces netcoreapp3.1 651μs 356ns 1.38μs 0 0 0 2.7 KB
#5962 WriteAndFlushEnrichedTraces net472 839μs 991ns 3.84μs 0.417 0 0 3.3 KB
Benchmarks.Trace.AspNetCoreBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendRequest net6.0 204μs 1.18μs 9.92μs 0.208 0 0 18.45 KB
master SendRequest netcoreapp3.1 228μs 1.32μs 13μs 0.215 0 0 20.61 KB
master SendRequest net472 0.00158ns 0.000714ns 0.00267ns 0 0 0 0 b
#5962 SendRequest net6.0 205μs 1.19μs 9.75μs 0.188 0 0 18.45 KB
#5962 SendRequest netcoreapp3.1 220μs 1.22μs 8.28μs 0.225 0 0 20.61 KB
#5962 SendRequest net472 0.00184ns 0.000734ns 0.00284ns 0 0 0 0 b
Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master WriteAndFlushEnrichedTraces net6.0 572μs 3.18μs 21.1μs 0.568 0 0 41.46 KB
master WriteAndFlushEnrichedTraces netcoreapp3.1 680μs 3.72μs 21.7μs 0.342 0 0 41.6 KB
master WriteAndFlushEnrichedTraces net472 847μs 4.2μs 18.8μs 8.33 2.5 0.417 53.32 KB
#5962 WriteAndFlushEnrichedTraces net6.0 590μs 2.47μs 9.25μs 0.546 0 0 41.64 KB
#5962 WriteAndFlushEnrichedTraces netcoreapp3.1 708μs 4.16μs 38.8μs 0.342 0 0 41.68 KB
#5962 WriteAndFlushEnrichedTraces net472 895μs 4.63μs 21.2μs 8.04 2.23 0.446 53.34 KB
Benchmarks.Trace.DbCommandBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteNonQuery net6.0 1.31μs 1.26ns 4.87ns 0.0144 0 0 1.02 KB
master ExecuteNonQuery netcoreapp3.1 1.81μs 1.31ns 5.09ns 0.0135 0 0 1.02 KB
master ExecuteNonQuery net472 2.05μs 1.85ns 6.66ns 0.157 0 0 987 B
#5962 ExecuteNonQuery net6.0 1.26μs 1.52ns 5.91ns 0.0139 0 0 1.02 KB
#5962 ExecuteNonQuery netcoreapp3.1 1.74μs 1.78ns 6.91ns 0.0131 0 0 1.02 KB
#5962 ExecuteNonQuery net472 2.14μs 1.51ns 5.24ns 0.156 0 0 987 B
Benchmarks.Trace.ElasticsearchBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master CallElasticsearch net6.0 1.2μs 0.83ns 3.22ns 0.0138 0 0 976 B
master CallElasticsearch netcoreapp3.1 1.58μs 0.614ns 2.13ns 0.0133 0 0 976 B
master CallElasticsearch net472 2.4μs 0.884ns 3.19ns 0.158 0 0 995 B
master CallElasticsearchAsync net6.0 1.22μs 1ns 3.74ns 0.0134 0 0 952 B
master CallElasticsearchAsync netcoreapp3.1 1.61μs 1.19ns 4.6ns 0.0137 0 0 1.02 KB
master CallElasticsearchAsync net472 2.57μs 0.994ns 3.85ns 0.167 0 0 1.05 KB
#5962 CallElasticsearch net6.0 1.21μs 1.01ns 3.49ns 0.0138 0 0 976 B
#5962 CallElasticsearch netcoreapp3.1 1.64μs 0.649ns 2.43ns 0.0133 0 0 976 B
#5962 CallElasticsearch net472 2.44μs 2.47ns 9.58ns 0.158 0 0 995 B
#5962 CallElasticsearchAsync net6.0 1.32μs 1.74ns 6.73ns 0.0131 0 0 952 B
#5962 CallElasticsearchAsync netcoreapp3.1 1.66μs 0.773ns 2.89ns 0.0133 0 0 1.02 KB
#5962 CallElasticsearchAsync net472 2.51μs 2.01ns 7.79ns 0.166 0 0 1.05 KB
Benchmarks.Trace.GraphQLBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master ExecuteAsync net6.0 1.24μs 0.342ns 1.23ns 0.0131 0 0 952 B
master ExecuteAsync netcoreapp3.1 1.67μs 0.738ns 2.86ns 0.0125 0 0 952 B
master ExecuteAsync net472 1.83μs 0.815ns 3.15ns 0.145 0 0 915 B
#5962 ExecuteAsync net6.0 1.24μs 1.79ns 6.93ns 0.0132 0 0 952 B
#5962 ExecuteAsync netcoreapp3.1 1.57μs 0.518ns 2.01ns 0.0126 0 0 952 B
#5962 ExecuteAsync net472 1.71μs 0.715ns 2.77ns 0.145 0 0 915 B
Benchmarks.Trace.HttpClientBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendAsync net6.0 4.25μs 2.39ns 8.93ns 0.0298 0 0 2.22 KB
master SendAsync netcoreapp3.1 5.02μs 1.18ns 4.59ns 0.0376 0 0 2.76 KB
master SendAsync net472 7.92μs 2.58ns 10ns 0.496 0 0 3.15 KB
#5962 SendAsync net6.0 4.22μs 1.84ns 6.89ns 0.0315 0 0 2.22 KB
#5962 SendAsync netcoreapp3.1 5.05μs 1.86ns 6.96ns 0.0354 0 0 2.76 KB
#5962 SendAsync net472 7.73μs 2.3ns 8.92ns 0.5 0 0 3.15 KB
Benchmarks.Trace.ILoggerBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 1.5μs 0.651ns 2.52ns 0.0234 0 0 1.64 KB
master EnrichedLog netcoreapp3.1 2.28μs 0.98ns 3.53ns 0.0225 0 0 1.64 KB
master EnrichedLog net472 2.77μs 1.05ns 4.08ns 0.249 0 0 1.57 KB
#5962 EnrichedLog net6.0 1.47μs 0.499ns 1.87ns 0.0229 0 0 1.64 KB
#5962 EnrichedLog netcoreapp3.1 2.24μs 0.843ns 3.15ns 0.0226 0 0 1.64 KB
#5962 EnrichedLog net472 2.67μs 1.17ns 4.39ns 0.25 0 0 1.57 KB
Benchmarks.Trace.Log4netBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 115μs 197ns 761ns 0.0577 0 0 4.28 KB
master EnrichedLog netcoreapp3.1 120μs 119ns 446ns 0 0 0 4.28 KB
master EnrichedLog net472 149μs 356ns 1.38μs 0.658 0.219 0 4.46 KB
#5962 EnrichedLog net6.0 116μs 205ns 794ns 0.0587 0 0 4.28 KB
#5962 EnrichedLog netcoreapp3.1 120μs 108ns 403ns 0 0 0 4.28 KB
#5962 EnrichedLog net472 150μs 194ns 752ns 0.671 0.224 0 4.46 KB
Benchmarks.Trace.NLogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 2.95μs 0.546ns 1.97ns 0.0312 0 0 2.2 KB
master EnrichedLog netcoreapp3.1 4.08μs 1.31ns 4.91ns 0.0286 0 0 2.2 KB
master EnrichedLog net472 4.82μs 1.43ns 5.55ns 0.32 0 0 2.02 KB
#5962 EnrichedLog net6.0 3.06μs 1.02ns 3.81ns 0.0306 0 0 2.2 KB
#5962 EnrichedLog netcoreapp3.1 4.16μs 1.41ns 5.26ns 0.0293 0 0 2.2 KB
#5962 EnrichedLog net472 4.91μs 2.43ns 9.4ns 0.32 0 0 2.02 KB
Benchmarks.Trace.RedisBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master SendReceive net6.0 1.39μs 1.02ns 3.95ns 0.0159 0 0 1.14 KB
master SendReceive netcoreapp3.1 1.77μs 0.907ns 3.51ns 0.015 0 0 1.14 KB
master SendReceive net472 2.08μs 0.893ns 3.34ns 0.183 0.00104 0 1.16 KB
#5962 SendReceive net6.0 1.3μs 0.728ns 2.82ns 0.0158 0 0 1.14 KB
#5962 SendReceive netcoreapp3.1 1.73μs 0.894ns 3.46ns 0.0156 0 0 1.14 KB
#5962 SendReceive net472 2.15μs 5.28ns 20.5ns 0.183 0.00107 0 1.16 KB
Benchmarks.Trace.SerilogBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master EnrichedLog net6.0 2.87μs 2.37ns 8.55ns 0.0214 0 0 1.6 KB
master EnrichedLog netcoreapp3.1 3.86μs 3.85ns 14.9ns 0.0211 0 0 1.65 KB
master EnrichedLog net472 4.31μs 1.72ns 6.65ns 0.324 0 0 2.04 KB
#5962 EnrichedLog net6.0 2.79μs 1.34ns 4.85ns 0.0224 0 0 1.6 KB
#5962 EnrichedLog netcoreapp3.1 3.8μs 2.12ns 8.21ns 0.0207 0 0 1.65 KB
#5962 EnrichedLog net472 4.26μs 2.63ns 10.2ns 0.323 0 0 2.04 KB
Benchmarks.Trace.SpanBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master StartFinishSpan net6.0 465ns 0.283ns 1.09ns 0.00815 0 0 576 B
master StartFinishSpan netcoreapp3.1 563ns 0.805ns 3.12ns 0.00764 0 0 576 B
master StartFinishSpan net472 639ns 0.718ns 2.78ns 0.0916 0 0 578 B
master StartFinishScope net6.0 479ns 0.368ns 1.43ns 0.00976 0 0 696 B
master StartFinishScope netcoreapp3.1 726ns 0.776ns 3ns 0.00933 0 0 696 B
master StartFinishScope net472 842ns 0.8ns 3.1ns 0.104 0 0 658 B
#5962 StartFinishSpan net6.0 466ns 0.186ns 0.719ns 0.00795 0 0 576 B
#5962 StartFinishSpan netcoreapp3.1 564ns 2.9ns 13ns 0.00808 0 0 576 B
#5962 StartFinishSpan net472 692ns 0.584ns 2.26ns 0.0916 0 0 578 B
#5962 StartFinishScope net6.0 480ns 0.235ns 0.909ns 0.00983 0 0 696 B
#5962 StartFinishScope netcoreapp3.1 708ns 0.267ns 0.963ns 0.00961 0 0 696 B
#5962 StartFinishScope net472 921ns 0.862ns 3.34ns 0.105 0 0 658 B
Benchmarks.Trace.TraceAnnotationsBenchmark - Same speed ✔️ Same allocations ✔️

Raw results

Branch Method Toolchain Mean StdError StdDev Gen 0 Gen 1 Gen 2 Allocated
master RunOnMethodBegin net6.0 645ns 0.308ns 1.19ns 0.00999 0 0 696 B
master RunOnMethodBegin netcoreapp3.1 946ns 0.623ns 2.41ns 0.00939 0 0 696 B
master RunOnMethodBegin net472 1.07μs 0.767ns 2.97ns 0.104 0 0 658 B
#5962 RunOnMethodBegin net6.0 600ns 0.606ns 2.35ns 0.00966 0 0 696 B
#5962 RunOnMethodBegin netcoreapp3.1 949ns 2.77ns 10.7ns 0.00928 0 0 696 B
#5962 RunOnMethodBegin net472 1.05μs 0.374ns 1.45ns 0.104 0 0 658 B

tracer/build/_build/Build.Utilities.cs Outdated Show resolved Hide resolved
tracer/build/_build/Build.Steps.cs Outdated Show resolved Hide resolved
tracer/build/_build/Build.Steps.cs Outdated Show resolved Hide resolved
tracer/build/_build/Build.Steps.cs Outdated Show resolved Hide resolved
.azure-pipelines/ultimate-pipeline.yml Outdated Show resolved Hide resolved
.azure-pipelines/ultimate-pipeline.yml Outdated Show resolved Hide resolved
.azure-pipelines/ultimate-pipeline.yml Outdated Show resolved Hide resolved
@duncanista duncanista requested review from a team as code owners September 5, 2024 17:00
Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

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

:shipit:

Comment on lines +59 to +63
# Keep trying to get the artifact for 30 minutes
downloadUrl=""
TIMEOUT=1800
STARTED=0
until (( STARTED == TIMEOUT )) || [ ! -z "${downloadUrl}" ] ; do
Copy link
Member

Choose a reason for hiding this comment

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

FYI this will 30mins for the first artifact and then 30 mins for the next one too. That's prob not what we really want, but it's not a big deal, and prob not worth fixing frankly! :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is fine, I tested multiple times, and some artifacts were not available, so I think this is OK

tracer/build/_build/Build.Utilities.cs Outdated Show resolved Hide resolved

// Needed as we need to restore with the RuntimeIdentifier
DotNetRestore(s => s
.SetProjectFile(Solution.GetProject(Projects.DatadogTraceMsBuild))
Copy link
Member

Choose a reason for hiding this comment

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

Do you really need this at all? 🤔 I'm about 90% sure you don't need this dll at all, and should be stripping it out of the layer. @tonyredondo can you confirm?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's stripped down later, but I want to make sure I build as close as possible to the current process, don't want to diverge much in case in the future we need to use some r2r binaries for other platforms like Azure!

Copy link
Member

Choose a reason for hiding this comment

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

Just for info, I believe this is literally only used if you're using the tracer as part of your build process, so I think there's basically no chance you'll need it 😃

duncanista and others added 4 commits September 6, 2024 09:41
also sent another upstream variable just in case we need it in the future
….com/DataDog/dd-trace-dotnet into jordan.gonzalez/ready-to-run/linux-deb
Copy link
Contributor

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

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

Nice looks good to me

It has showcased a 500ms init duration improvement

Solid!

@duncanista duncanista merged commit 5c5bec1 into master Sep 6, 2024
69 of 73 checks passed
@duncanista duncanista deleted the jordan.gonzalez/ready-to-run/linux-deb branch September 6, 2024 16:41
@github-actions github-actions bot added this to the vNext-v3 milestone Sep 6, 2024
duncanista added a commit that referenced this pull request Sep 10, 2024
cherry-pick `5c5bec1b893b52c2364a2bf2b66c58a92e6d7d83`
[5962](#5962)

## Summary of changes

Allows tracer publishing to be compiled with

[ReadyToRun](https://learn.microsoft.com/en-us/dotnet/core/deploying/ready-to-run)
to improve Serverless workloads init duration.

## Reason for change

It has showcased a 500ms init duration improvement for AWS Lambda.
Potentially could be used for other workloads in the future.

## Implementation details

Followed #4573 and

[ReadyToRun](https://learn.microsoft.com/en-us/dotnet/core/deploying/ready-to-run)
docs.

## Test coverage

- Tested manually in AWS Lambda.

## Other details
Increases tracer size by 3x.

<!-- ⚠️ Note: where possible, please obtain 2 approvals prior to
merging. Unless CODEOWNERS specifies otherwise, for external teams it is
typically best to have one review from a team member, and one review
from apm-dotnet. Trivial changes do not require 2 reviews. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:builds project files, build scripts, pipelines, versioning, releases, packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants