flat-zoo-31952
07/25/2023, 5:03 PMslots=True
on these to decrease memory consumption?ancient-vegetable-10556
07/25/2023, 5:08 PMbitter-ability-32190
07/25/2023, 5:08 PMNew in version 3.10.I looked into it once. I think there were a few hotspots. Other than that I think we could on upgrade 🙂
bitter-ability-32190
07/25/2023, 5:08 PMdataclass_transform
so we could set it universallyflat-zoo-31952
07/25/2023, 5:11 PMflat-zoo-31952
07/25/2023, 5:13 PMflat-zoo-31952
07/25/2023, 5:16 PMbitter-ability-32190
07/25/2023, 5:27 PMscie-pants
in the mix.
We'd probably jump to 3.11 for the perf bump too.bitter-ability-32190
07/25/2023, 5:27 PMflat-zoo-31952
07/25/2023, 5:29 PMbitter-ability-32190
07/25/2023, 5:30 PMflat-zoo-31952
07/25/2023, 5:34 PMflat-zoo-31952
07/25/2023, 5:35 PMbitter-ability-32190
07/25/2023, 5:40 PMhappy-kitchen-89482
07/25/2023, 5:54 PMbitter-ability-32190
07/25/2023, 5:54 PMhappy-kitchen-89482
07/25/2023, 5:54 PMflat-zoo-31952
07/25/2023, 6:04 PMinternals/*.py
to rust... it sucks to have to take on the overhead of acquiring the GIL just to run
@rule
def extract_subproject_roots(global_options: GlobalOptions) -> SubprojectRoots:
return SubprojectRoots(global_options.subproject_roots)
flat-zoo-31952
07/25/2023, 6:06 PMflat-zoo-31952
07/25/2023, 6:11 PMfresh-cat-90827
07/26/2023, 9:39 AMbitter-ability-32190
07/26/2023, 11:47 AMbitter-ability-32190
07/28/2023, 4:20 PMjoshuacannon@JCANNON-WIT:~/work/pants$ /home/joshuacannon/.cache/pants/pants_dev_deps/f83c94980ecbf5333c98482b31a064c7bbe69ab2.venv/bin/mprof peak mprofile_*
mprofile_311_noslots_alldeps.dat 1507.441 MiB
mprofile_311_slots_alldeps.dat 1441.770 MiB
mprofile_39_noslots_alldeps.dat 1516.316 MiB
flat-zoo-31952
07/28/2023, 5:42 PM❯ mprof peak 311*.dat
311-slots_rss.dat 4137.328 MiB
311_rss.dat 4104.812 MiB
bitter-ability-32190
07/28/2023, 5:43 PMflat-zoo-31952
07/28/2023, 5:47 PM❯ mprof peak 311*.dat
311-noslots_pss.dat 3948.714 MiB
311-slots_pss.dat 4086.278 MiB
311-slots_rss.dat 4137.328 MiB
311_rss.dat 4104.812 MiB
flat-zoo-31952
07/28/2023, 5:48 PMpsutil_pss
to see if there was a big diff between pss and rssflat-zoo-31952
07/28/2023, 5:48 PMPANTS_SOURCE=../../pantsbuild/pants mprof run --backend psutil_pss --output 311-noslots_pss.dat pants --no-pantsd dependencies ::
flat-zoo-31952
07/28/2023, 5:53 PMbitter-ability-32190
07/28/2023, 6:41 PM