官术网_书友最值得收藏!

  • Unity Game Optimization
  • Dr. Davide Aversa Chris Dickinson
  • 229字
  • 2021-06-24 12:13:01

Reducing noise

The classical definition of noise (at least in the realm of computer science) is meaningless data, and a batch of profiling data that was blindly captured with no specific target in mind is always full of data that won't interest us. More sources of data take more time to mentally process and filter, which can be very distracting. One of the best methods to avoid this is to simply reduce the amount of data we need to process by stripping away any data deemed non-vital to the current situation.

Reducing the clutter in the Profiler's graphical interface will make it easier to determine which subsystems are causing a spike in resource usage. Remember to use the colored checkboxes in each Timeline View area to narrow the search.

Be warned that these settings are autosaved in the Editor, so ensure that you re-enable them for the next profiling session, as this might cause us to miss something important next time.

Also, GameObjects can be deactivated to prevent them from generating profiling data, which will also help to reduce clutter in our profiling data. This will naturally cause a slight performance boost for each object we deactivate. However, if we're gradually deactivating objects and performance suddenly becomes significantly more acceptable when a specific object is deactivated, then clearly that object is related to the root cause of the problem.

主站蜘蛛池模板: 芦山县| 团风县| 巨鹿县| 巴东县| 北安市| 马龙县| 谷城县| 崇信县| 永定县| 手机| 龙州县| 陆良县| 临猗县| 佛学| 股票| 曲靖市| 晋江市| 昭觉县| 日喀则市| 井研县| 商南县| 宁陵县| 定兴县| 礼泉县| 乌拉特前旗| 辉县市| 班玛县| 宝兴县| 吉首市| 遂平县| 颍上县| 长沙市| 藁城市| 北流市| 桑植县| 新河县| 和顺县| 温泉县| 临洮县| 临武县| 乌兰县|