Measuring the performance of games
To measure the performance of a game (or any application that uses Metal), or to turn it off, use one of the the following Terminal commands.
To turn on the performance HUD:
/bin/launchctl setenv MTL_HUD_ENABLED 1
To turn it off:
/bin/launchctl setenv MTL_HUD_ENABLED 0