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
dev: running --race
is very slow
#81314
Comments
This feels like maybe it's a blocker. I just tried to run a race test and it spent over 200s just working on the go stdlib before I gave up. That's way too long. I was able to do a |
Opened bazelbuild/rules_go#3218 for discussion. |
The issue I filed doesn't cover it taking too long to build the stdlib, I'm not really sure what to do about that. Of course you should "only have to do it once" if caching is working as expected but still the 200s wait is a lot even just once. |
That's the part I don't really understand. It seems to me that when you run with |
When you build anything with the normal go compiler it doesn't have to build the stdlib, but that's just a difference between the normal Go toolchain and |
It does, but all the precompiled artifacts are in the SDK are slated to be removed: golang/go#47257 |
Describe the problem
When you switch to running a test with
--race
, several bad things happen:race
, so they run super slowlyJira issue: CRDB-15245
Epic CRDB-17171
The text was updated successfully, but these errors were encountered: