Got to use the new batching features from the new ...
# general
h
Got to use the new batching features from the new release with great success! We had some test setup that has a large one-time cost setting up some mocks. By batching, we can limit how often we incur that cost and reduced a huge chunk of test execution time by 7x
Copy code
(3.8.10) ~/devel/monorepo (batching)$ time ./pants test --force ops/unittests/::
....
Wrote test reports to dist/test_results

real	1m16.427s
user	0m0.719s
sys	0m0.073s
Without batching configured
Copy code
(3.8.10) ~/devel/monorepo (master)$ time ./pants test ops/unittests/::
....
Wrote test reports to dist/test_results

real	7m52.670s
user	0m0.701s
sys	0m0.076s
The docs also made it very clear how best to set up this feature for our needs by using the default flags in our build files.
🙌 4
s
glad to hear it 🙂 thanks for the feedback
h
@sparse-lifeguard-95737 is being humble - he implemented this epic feature!