After inspecting the compiled code of our Decision Flow, I found the following lines:
dcl package logger logr_perf('App.tk.SID.Perf');
...
logr_perf.log( 'd', 'Package Name: MyPackage, Node Name: MyNode, Node ID: bf5809d2-7a20-4c70-9321-fb7752c01889, NODE DURATION: ' .. elapsed_time);
It appears that a performance logger is already built in. This led me to SAS's docs on Enabling Performance Logging:
https://documentation.sas.com/doc/en/edmcdc/v_067/edmag/p18ijod43fspmwn1k11cyrb8kjoi.htm
Setting the following environment variable in our published SCR containers enabled this logger:
SAS_SCR_LOG_LEVEL_App.tk.SID.Perf=TRACE
I also found another env var that can be set for code profiling, as described in SAS's Monitoring and Logging docs:
https://documentation.sas.com/doc/en/mascrtcdc/v_042/mascrtag/p19wd6anldyq55n1vvezs8j2uhlx.htm
SAS_SCR_LOG_LEVEL_SCR_PROFILE=TRACE