wide-midnight-78598
09/20/2022, 2:54 PMpy-spy
, but is there a way to profile just steps relevant to a backend? I don't really have a technical definition of "relevant" unfortunately, more of a semantic one. Like, would monitoring time spent in the cc
module be practically good enough? Feels so-so
https://www.pantsbuild.org/docs/contributions-debugging#profiling-with-py-spy
Idea here is that I want to test having the cc
backend compile/link natively vs creating Ninja build files, and then having ninja perform the compilation/linking step to see whether that step is a bottleneck (when compared with the other Pants overhead - digests, daemon, dep inference, cache checking, etc).fast-nail-55400
09/20/2022, 4:07 PMwide-midnight-78598
09/20/2022, 4:17 PMfast-nail-55400
09/20/2022, 4:42 PMfast-nail-55400
09/20/2022, 4:43 PMwide-midnight-78598
09/20/2022, 4:45 PMfast-nail-55400
09/20/2022, 4:48 PMexample-FOO
repositories for the other backends. I imagine that an example-cc
repo will help now with testing and later with adoption.wide-midnight-78598
09/20/2022, 4:49 PMfast-nail-55400
09/20/2022, 5:06 PMfast-nail-55400
09/20/2022, 5:07 PMcats-effect
for testing)fast-nail-55400
09/20/2022, 5:07 PMfast-nail-55400
09/20/2022, 5:09 PMboost
that could make for good test cases.wide-midnight-78598
09/20/2022, 5:15 PMwide-midnight-78598
09/20/2022, 5:15 PMfast-nail-55400
09/20/2022, 5:31 PM