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

[Swift shipping] Performance benchmarking framework for Swift projection tooling #2586

Open
4 tasks
Tracked by #95633
kotlarmilos opened this issue May 13, 2024 · 0 comments
Open
4 tasks
Tracked by #95633
Assignees
Labels
area-SwiftBindings Swift bindings for .NET

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented May 13, 2024

Overview

The goal is to setup a framework to evaluate the performance of Swift interop. This framework will measure the key metrics below:

  • Invocation latency: Measure the time required for method invocations with direct P/Invoke, Swift bindings, and Objective-C bindings. The final goal should be to be competitive compared to other direct-interop scenario, where our interop cost shouldn't be so great that it shadows the provided utility of the interop.
  • Size on disk: Track disk space utilization for generated bindings in AOTed iOS/macCatalyst app. The final goal should be to provide trimmable and scalable bindings.

Tasks:

  • Framework architecture design
  • Telemetry integration to gather usage data
  • Implement performance benchmarking
  • Implement dashboards
@kotlarmilos kotlarmilos added the area-SwiftBindings Swift bindings for .NET label May 13, 2024
@kotlarmilos kotlarmilos changed the title Performance benchmarking framework for Swift projection tooling [Swift shipping] Performance benchmarking framework for Swift projection tooling Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-SwiftBindings Swift bindings for .NET
Projects
None yet
Development

No branches or pull requests

2 participants