sparse-lifeguard-95737
10/31/2022, 6:04 PM./pants test
of that subtree now runs nearly as fast as raw pytest
🎉sparse-lifeguard-95737
10/31/2022, 6:05 PMhundreds-father-404
10/31/2022, 6:06 PMsparse-lifeguard-95737
10/31/2022, 6:06 PM./pants test
nowhundreds-father-404
10/31/2022, 6:06 PM--changed-since
, and hopefully Pants will be faster in most casessparse-lifeguard-95737
10/31/2022, 6:06 PMwitty-crayon-22786
10/31/2022, 6:10 PMwitty-crayon-22786
10/31/2022, 6:11 PMhappy-kitchen-89482
10/31/2022, 6:20 PMhundreds-father-404
10/31/2022, 6:21 PMwitty-crayon-22786
10/31/2022, 8:22 PM“nearly as fast” => 62 minutes in pants, 59 minutes in pytestwas this with any batching enabled, or was it all tests in the subdirectory in one batch?
sparse-lifeguard-95737
10/31/2022, 8:34 PMsparse-lifeguard-95737
10/31/2022, 8:34 PMsparse-lifeguard-95737
10/31/2022, 8:35 PMsparse-lifeguard-95737
11/11/2022, 9:05 PM[test].batch_size
at the default of 128, running all our big tangled django tests takes ~20 minutes locally, which is 3x faster than a vanilla pytest
of the same dir. so we now have a very attractive lure when trying to get more of our engineers off our old tooling and onto using pants full-time 🎉