-
-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate why V2 test runner is slower than V1 #7795
Comments
Relates to #6898. Adding support for local process caching would effectively eliminate the resolve step run over run (without pantsd: it's already eliminated with pantsd), which is itself significant. It would also reduce the number of tests that actually run. |
Closing because we have some good answers. |
Eric-Arellano
added a commit
that referenced
this issue
Jun 7, 2019
…quirements (#7846) ### Problem `python_test_runner.py` does too much right now. One of its main pieces of logic that should be factored out is creating a PEX with the desired requirements, entry point, and interpreter constraints. This will presumably be useful for other V2 rules, so should not be coupled to the Pytest runner. Also, it was found in #7795 that this requirements PEX is causing ~75% of the performance issues for the V2 Pytest runner. Having it extracted out into its own rule will make it easier to develop, test, and optimize. ### Solution Create a generic rule, along with dedicated tests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When changing our CI from V1 to V2 for unit tests, performance goes from about 25 minutes to 40 minutes. Why is this?
Even though remoting will likely make the end result be significantly faster, non-remoting should not be taking this much longer and we are likely missing several optimizations.
See #7724 (comment) and the comments below it for some hypotheses.
The text was updated successfully, but these errors were encountered: