- 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
- R語(yǔ)言數(shù)據(jù)分析從入門(mén)到精通
- 新一代通用視頻編碼H.266/VVC:原理、標(biāo)準(zhǔn)與實(shí)現(xiàn)
- Cocos2d-x游戲開(kāi)發(fā):手把手教你Lua語(yǔ)言的編程方法
- 微服務(wù)設(shè)計(jì)原理與架構(gòu)
- The React Workshop
- Instant 960 Grid System
- PHP網(wǎng)絡(luò)編程學(xué)習(xí)筆記
- Internet of Things with Intel Galileo
- INSTANT Mercurial SCM Essentials How-to
- SSM輕量級(jí)框架應(yīng)用實(shí)戰(zhàn)
- Python極簡(jiǎn)講義:一本書(shū)入門(mén)數(shù)據(jù)分析與機(jī)器學(xué)習(xí)
- NGINX Cookbook
- Machine Learning for Developers
- HTML5 WebSocket權(quán)威指南
- Isomorphic Go