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

[mono][aot] Refactor deduplication to use enum instead of flags #85384

Merged
merged 5 commits into from
May 1, 2023

Conversation

kotlarmilos
Copy link
Member

This PR contributes to #83973. It doesn't change the behavior and improves code maintenance by using deduplication enum instead of multiple flags.

Related PRs are #84304 and #85044.

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos
Copy link
Member Author

The change has been tested by measuring the number of methods and size on HelloiOS app, and also by evaluating the speed on a WASM console sample app. Here are the results:

  • HelloiOS bundle size difference: 5kb
  • Number of symbols: No changes detected (94,633)
  • WASM performance template (Vector<T>.Zero + Vector<T>.Zero): No changes detected (~9,500 timer ticks)

HelloiOS-base.zip
HelloiOS-target.zip
symbols-list.zip

@kotlarmilos
Copy link
Member Author

/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@kotlarmilos
Copy link
Member Author

The failures are known issues and shouldn't be related.

@kotlarmilos kotlarmilos merged commit 23fd17c into dotnet:main May 1, 2023
@kotlarmilos kotlarmilos deleted the bugfix/refactor-dedup branch May 1, 2023 11:36
@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants