Search Issue Tracker
Fixed in 5.2.0
Votes
0
Found in
4.6.6f2
Issue ID
708937
Regression
No
[IL2CPP] Queue.Dequeue and BinaryReader.ReadInt32 significantly slower than on Mono
To Reproduce:
1. Deploy the attached project (with debug symbols on) to an device.
2. Run the app with time profiler in Instruments and observe that some functions are significantly slower with Il2CPP than with Mono. On iPad mini 2 (iOS 8.4) (ARMv7):
IL2CPP:
Running Time Symbol Name
1160.0ms 20.9% BinaryReader_ReadInt32_m4980
Running Time Symbol Name
328.0ms Queue_1_Dequeue_m12_gshared
Mono:
Running Time Symbol Name
139.0ms m_System_Collections_Generic_Queue_1_int_Dequeue
Running Time Symbol Name
263.0ms m_System_IO_BinaryReader_ReadInt32
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment