IL2CPP performance slightly slower than Mono

Ok, so this is probably not a huge deal, but more of a curiosity sake as well.

My project performs slightly slower with IL2CPP than Mono, not by huge amount but identifiable amount like :

700fps vs 780fps

I am here to find out what could possibly cause such difference between Mono and IL2CPP…
In other words, what part of the IL2CPP is currently known as to be slower than Mono. Looking for some programming pattern, or scripting rules, or whatever that case maybe could cause IL2CPP build to run slower than Mono build.

Assuming Windows platform, Unity 2020.2 like…

Any ideas?

Virtual calls and interfaces off top of my head. Other than those - googling probably best bet.

Also, if you can isolate it - submit a bug report.

1 Like

This ^^^ Here’s a thread which discusses the issue in good detail:
https://discussions.unity.com/t/800338