Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b4
Issue ID
995136
Regression
No
[IL2CPP] [macOS] Equality checking with 'ReferenceEquals' and '==' is faster using Mono
Reproduction steps:
1. Open the attached project.
2. Build the 'Test' scene as macOS Standalone using IL2CPP.
3. Open the Build and wait for calculations to finish.
- Notification should change from 'Total millis: 0' to 'Total millis: 'XXXXX'' after about 5-30 seconds.
4. Remeber the results.
5. Repeat steps 2-4 using Mono.
6. Compare the results.
Actual behavior:
- Mono takes more time to check equality
- Il2CPP macOS Standalone - 15617
- Mono macOS Standalone - 6392
Expected result:
- IL2CPP calculation time is faster or equal to Mono.
Note:
- Equality checks can be chosen in lines 34 or 35 of 'Test' script.
- Results using iOS device are quite similar:
= IL2CPP iOS - 26644
= Mono iOS - 26863
Reproduced with:
- 2018.1.0b12, 2018.2.0a6
- 2017.3 or older Unity versions doesn't have the IL2CPP option.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment