enough-analyst-54434
02/03/2023, 5:03 PMpants
in the pants repo, you just need to update to the latest release (SCIE_BOOT=update pants
or if you brew, you know how to update brewed things).enough-analyst-54434
02/03/2023, 5:04 PM$ hyperfine -w1 -r5 'pants -V' './pants -V'
Benchmark 1: pants -V
Time (mean ± σ): 1.100 s ± 0.007 s [User: 0.508 s, System: 0.056 s]
Range (min … max): 1.089 s … 1.107 s 5 runs
Benchmark 2: ./pants -V
Time (mean ± σ): 1.106 s ± 0.005 s [User: 0.523 s, System: 0.044 s]
Range (min … max): 1.102 s … 1.115 s 5 runs
Summary
'pants -V' ran
1.01 ± 0.01 times faster than './pants -V'
enough-analyst-54434
02/03/2023, 5:04 PMenough-analyst-54434
02/03/2023, 5:13 PMpants_version
to latest stable in pants.toml
and you can just answer no and go back to using ./pants
in that older codebase.happy-kitchen-89482
02/03/2023, 6:51 PMbrew install pantsbuild/tap/pants
), you can upgrade with just brew upgrade pants