Skip to content

Build perf: Enable ReadyToRun for managed interop assembly #52

Description

Summary

Evaluate and enable ReadyToRun publishing for the managed interop assembly to reduce first-call JIT costs.

Why

R2R can improve startup/cold-path latency for frequently imported modules with small managed wrappers.

Proposed change

  • Update project build settings to enable ReadyToRun for relevant targets.
  • Validate package size impact and runtime compatibility across supported RIDs.
  • Ensure CI publishes and tests artifacts with this mode.

Acceptance criteria

  • Cold-start benchmark shows improvement or no regression.
  • No functional regressions across supported platforms.
  • Package size impact is documented and acceptable.
  • CI/build pipeline remains green.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions