You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[build] Build tracer with ReadyToRun (DataDog#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 DataDog#4573 and
[ReadyToRun](https://learn.microsoft.com/en-us/dotnet/core/deploying/ready-to-run)
docs.
## Test coverage
- TBD
- 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. -->
---------
Co-authored-by: Andrew Lock <[email protected]>
Copy file name to clipboardexpand all lines: .nuke/build.schema.json
+8
Original file line number
Diff line number
Diff line change
@@ -263,6 +263,10 @@
263
263
"type": "string",
264
264
"description": "Root directory during build execution"
265
265
},
266
+
"RuntimeIdentifier": {
267
+
"type": "string",
268
+
"description": "RuntimeIdentifier sets the target platform for ReadyToRun assemblies in 'PublishManagedTracerR2R'.See https://learn.microsoft.com/en-us/dotnet/core/rid-catalog"
269
+
},
266
270
"SampleName": {
267
271
"type": "string",
268
272
"description": "The sample name to execute when running or building sample apps"
0 commit comments