https://pantsbuild.org/ logo
c

clean-city-64472

10/14/2021, 7:55 PM
Is there any way to isolate the pex file for a particular test target and the run it with a profiler so I can see exactly where all the time is spent. Running into an issue where the pytest reported test time is significantly lower than the actual run time.
f

fast-nail-55400

10/14/2021, 8:07 PM
Thinking offhand, you can probably run with
--no-process-execution-local-cleanup
to preserve the sandbox used for the test
2
that should have the pex plus a script with the arguments that had been passed in
then modify the script to add the profiler invocation
c

clean-city-64472

10/14/2021, 9:41 PM
k i'll mess around with that - thanks
3 Views