Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0p3
Issue ID
945462
Regression
No
[iOS, il2cpp] System.DateTime.Now is slow on the first run
To reproduce:
1. Open project attached by QA
2. Build it for iOS
3. In XCode's top menu bar select Product -> Profile
4. From the instruments select time profiler
5. After opening Time Profiler hit record button
6. Record for ~10seconds.
7. In the timeline find a spike in CPU usage and make selection on this spike
Expected: System.DateTime.Now should take the same amount of time on all the runs
Actual: On the first run it takes more time (is slower)
Reproduced on: 5.6.3f1, 2017.1.1f1, 2017.2.0b10, 2017.3.0a7
Reproduced with: iPhone SE OS 9.3
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Barns12
Apr 25, 2022 00:52
Hello, if you need advice on software quality assurance, I advise you to contact here HTTPS://savarian.tech/services/consulting/ . Savarian.tech consulting and process improvement services can help reduce the time it takes to run your development cycle efficiently. Independent members of their team can help you test your software and have the experience to offer viable solutions specific to your business.
CorryStHaggen
Apr 24, 2022 23:50
Hello. I need help, or at least advice to begin with, about software quality assurance. Who can be contacted with this question?
roointan
Sep 06, 2020 09:01
more info about why this is slow https://stackoverflow.com/a/4075602/1235063
you can use Time.time or a TickCount alternative which doesn't need to query the system time
roointan
Feb 16, 2020 11:50
How is it slow by design??