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

IL2CPP (AOT) performance using Expressions #2

Closed
gustavopsantos opened this issue Aug 27, 2021 · 3 comments
Closed

IL2CPP (AOT) performance using Expressions #2

gustavopsantos opened this issue Aug 27, 2021 · 3 comments
Assignees
Labels
performance Performance optmizations

Comments

@gustavopsantos
Copy link
Owner

gustavopsantos commented Aug 27, 2021

The expression trees implementation used for AOT platforms is an interpreter, so it is pretty slow compared to a JIT compiler like Mono. We need to check if theres a good way (clean, readable and scalable) to implement a IL Reweaver.

References:

@gustavopsantos gustavopsantos added the performance Performance optmizations label Aug 27, 2021
@gustavopsantos gustavopsantos self-assigned this Aug 27, 2021
@boraty14
Copy link
Contributor

boraty14 commented Jun 2, 2024

I have no idea what does this issue means, but according to links it looks like reaallly slow (like you mentioned). Should I care for this when I develop for IL2CPP ?

@gustavopsantos
Copy link
Owner Author

@boraty14 You should not worry about it, expression trees are currently being used only for mono (JIT) builds.
See peformance charts for both mono (JIT) and IL2CPP (AOT) in https://github.com/gustavopsantos/Reflex?tab=readme-ov-file#-performance

@gustavopsantos
Copy link
Owner Author

Closing this issue as I already investigated this a long time ago, and decided to not go for IL Weaving (at least for now) as I'm currently happy with AOT performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance optmizations
Projects
None yet
Development

No branches or pull requests

2 participants