If the print statements are also executed in the released version (as opposed to the debug version), this can lead to (very large) performance.
Typically, print instructions are quite expensive, but I know little about stored procedures.
Edit : as others have already confirmed, PRINT
is only used as / in debug versions, so there is no real penalty other than a call.
source share