Deprecated performance profiling guide in ue4
Very useful article: http://www.gamasutra.com/blogs/LeszekGodlewski/20160721/272886/The_Vanishing_of_Milliseconds_Optimizing_the_UE4_renderer_for_Ethan_Carter_VR.php
Useful Commands:
stat fps | |
---|---|
stat unit | |
stat unitgraph | |
stat raw | |
stat scenerendering | Overall Scene Rendering Stats |
stat particles | show particle stats |
stat shadowrendering | CPU Render Thread time ussuing shadow depth calls |
Profilegpu | Measures GPU execution time |
stat d3d11rhi | D3D Driver rendering times |
showlog | |
Vis | |
freezerendering |
Typing 'show' then enter shows you all the things you can turn on or off to see if perf goes up or down.
show staticmeshes | Turn on or off static meshes |
---|---|
show particles | Turn on/off particles |
show translucency | |
show postprocessing | |
show skeletalmeshes |
DumpShaderStats | Dump Shader Stats |
---|---|
stat Slow [-ms=0.3] [-maxdepth=5] | Command will dump all stats taking longer than specified ms & lower than specific nested depth in their grouping. Really useful for quick perf tests if you don’t have access to profiler. "stat grouped" disables it |