Sakura's Metal renderer can display Apple's Metal Performance HUD for measure performance using tool that Apple provided like in Xcode.
The HUD will be drawn in CAMetalLayer at the top-right of window.
CAMetalLayer
All environment variable that Apple provided should be work, see customization and list of envvar in documentation
Enable HUD
MTL_HUD_ENABLED=1 dotnet run
Add per-metric flag e.g. encoder GPU timing
MTL_HUD_ENABLED=1 MTL_HUD_ENCODER_TIMING_ENABLED=1 dotnet run
There was an error while loading. Please reload this page.