Voting is open. Play the entries and pick the winner.
Sandbox.Engine
static readonly ProfilingSampler MyProfilingScope = new( "My Profiling Scope" ); using ( _commandList.ProfileScope( MyProfilingScope ) ) { // do something here... }