1、BEHAVIOURINTERACTIVEHIGHLY CONFIDENTIAL DO NOT REDISTRIBUTEMethodical GPU Profiling2B E H A V I O U R I N T E R A C T I V EIntroductionLeon BrandsSenior Graphics ProgrammerBehaviour InteractiveSocials at the end3B E H A V I O U R I N T E R A C T I V EWho are we?4B E H A V I O U R I N T E R A C T I V
2、 EAgenda Motivation Strategy Investigate Planning TakeawaysMotivation6B E H A V I O U R I N T E R A C T I V EMotivation WFH 3+years w/6-10 prog Graphics support on consoles Optimizations ScopeMotivation Inherently undefined Bottlenecks are always changing Needed a strategyWorkload7B E H A V I O U R
3、I N T E R A C T I V EFamiliarity with code base,articles,talks,discussionsIdeasObserved performance issues by other developers&playtestersReportsHard work!ProfilingOptimization Origins1238B E H A V I O U R I N T E R A C T I V EFamiliarity with code base,articles,talks,discussionsIdeasObserved perfor
4、mance issues by other developers&playtestersReportsHard work!ProfilingOptimization Origins123UnreliableMightnotHappenScientific9B E H A V I O U R I N T E R A C T I V EStrategyStrategy Optimizing is scientific Clear Goal Defined&Provable Results Iterative workflow:Analyze Optimize Confirm Repeatwhile
5、(frameTime 16.6)11B E H A V I O U R I N T E R A C T I V EStrategy Goals Find optimization ideas Re-evaluate status Adjust to current phase Do you need more data?Dont waste timeMonthly Profiling Suite12B E H A V I O U R I N T E R A C T I V EStrategy Our Profiling Suite Divide into steps Work our way
6、downwards Scope 1:Game Scope 2:Level Scope 3:POI Scope 4:InvestigateNarrow it Down13B E H A V I O U R I N T E R A C T I V EStrategy 60 FPS Test all levelsScope 1:Game14B E H A V I O U R I N T E R A C T I V E15B E H A V I O U R I N T E R A C T I V EStrategy 60 FPS Test all levels UGCScope 1:GameStrat