Some people on my team are asking about the perfor...
# general
f
Some people on my team are asking about the performance implications of pex files (as opposed to more traditional directory structures). Are there any benchmarks or other resources I can point them at?
h
The closest I can think of is https://www.pantsbuild.org/docs/reference-pex_binary#codeexecution_modecode, which explains a performance tradeoff you can make
👍 1
w
a lot of care has gone into it: https://github.com/pantsbuild/pex/pull/1438#issuecomment-915594365 … after the first execution, the
venv
mode in particular should be nearly equivalent to directly executing a
venv
👍 1
(and that’s what Pants uses internally to run tests, etc)