Closed andrew-demb closed 5 months ago
Hi
Currently the extension does not add any overhead when it's not profiling. However there is a potential security risk with enabling it in production, as it is controlled via _GET parameters (there is at least a risk DoS risk).
Thank you.
Description
We want to simplify the process of profiling application memory in the production environment, allowing it to profile memory at any time needed.
For such a result, we consider installing the
memprof
extension in the production docker image for the long term (and trigger profile specially and securely).This statement can be found in the readme:
So the question is: Does the current extension add overhead when we don't enable it (for production)?