- Unity Game Optimization
- Dr. Davide Aversa Chris Dickinson
- 178字
- 2021-06-24 12:13:00
Targeted profiling of code segments
If our performance problem isn't resolved by the checklist mentioned previously, then we probably have a real issue on our hands that demands further analysis. The Profiler window is effective at showing us a broad overview of performance; it can help us find specific frames to investigate and can quickly inform us which MonoBehaviour and/or method may be causing issues. We would then need to figure out whether the problem is reproducible, under what circumstances a performance bottleneck arises, and from where exactly within the problematic code block the issue is originating.
To accomplish these, we will need to perform some profiling of targeted sections of our code, and there are a handful of useful techniques we can employ for this task. For Unity projects, they essentially fit into two categories:
- Controlling the Profiler from script code
- Custom timing and logging methods
- Implementing VMware Horizon 7(Second Edition)
- Python概率統(tǒng)計(jì)
- Git Version Control Cookbook
- Oracle Database In-Memory(架構(gòu)與實(shí)踐)
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Android玩家必備
- Python從入門到精通
- HoloLens與混合現(xiàn)實(shí)開發(fā)
- Maker基地嘉年華:玩轉(zhuǎn)樂動(dòng)魔盒學(xué)Scratch
- 優(yōu)化驅(qū)動(dòng)的設(shè)計(jì)方法
- Splunk Developer's Guide(Second Edition)
- The Python Apprentice
- C語言程序設(shè)計(jì)教程
- Visual C++ 2017網(wǎng)絡(luò)編程實(shí)戰(zhàn)
- R語言編程:基于tidyverse