- 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
- 數據庫系統教程(第2版)
- Testing with JUnit
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- Interactive Applications Using Matplotlib
- R大數據分析實用指南
- 深入淺出PostgreSQL
- Visual Basic程序設計實踐教程
- NGINX Cookbook
- 匯編語言編程基礎:基于LoongArch
- MATLAB GUI純代碼編寫從入門到實戰
- RESTful Web Clients:基于超媒體的可復用客戶端
- 精通Spring:Java Web開發與Spring Boot高級功能
- 黑莓(BlackBerry)開發從入門到精通
- C語言程序設計