Hey folks, is there a way to profile a pex_binary ...
# general
c
Hey folks, is there a way to profile a pex_binary with, eg, scalene? It wants to be run as
scalene your_prog.py
. I tried creating a new pex_binary and setting
script
or
entry_point
to "scalene", but I can't seem to pass arguments to it?
h
You can override entry points and other things on an unmodified PEX at runtime with env vars: https://pex.readthedocs.io/en/latest/api/vars.html
That may help