I would like to track the build time of Pex target...
# general
h
I would like to track the build time of Pex targets for my pipelines, is there data I could export to do this ootb?
f
(or write your own plugin to collect the same underlying "work unit" data)
h
Looks very useful, do you use this yourself?
f
I’m the author. Just set it up on Pants CI this week or so.
h
Brilliant. Could I use this to also track test run times?
f
Only at the coarse level of the monitoring the test runner process (e.g,
pytest
).
👍 1
For individual tests, you should use the
--test-report
option to get
junit.xml
-style outputs. https://www.pantsbuild.org/stable/reference/goals/test#report