Optimization Tips
Reduce instructions count
DRM editor window displays information about instruction count used by a mask, this helps to analyze how expensive is the chosen mask:

Try to minimize Count property. Higher this value is, the more expensive is mask calculation.
Also try using the Simple type mask instead of the Advanced. Simple mask uses less instruction, but doesn't support Smoothing and Noise visual features.
Clever choose required mask count
If using DRM Live objects, always check their generated count inside the DRM Controller. This helps to analyze how many DRM objects the shader effect really needs:

Use keywords
Control DRM node calculation using keywords. For example if creating bullet holes effect, there will be moments when there just aren't any bullet holes to render, but the DRM node (or method) still will keep its calculation. In this case DRM calculation can be disabled by a keyword and enabled only when it is required.
Keywords can be manually enabled and disabled, but DRM Controller already has the feature for automatically enabling keywords when the very first object is added to the Pool and disables them when Pool becomes empty:
