bazel: gomock bottlenecks build significantly #71854
Labels
A-build-system
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-dev-inf
Describe the problem
We hooked up gomock into our bazel build recently (#67226); it's pretty slow.
To Reproduce
To grab a profile, I started with a fresh bazel build, switched to a branch rebased on top of the original (and adding a few changes).
For some super unscientific analysis looking to our worst offendors (the re-build took 100s+, and incremental
make buildshort
was ~40s).Another iteration of the exercise showed the same.
Expected behavior
This is probably one of many performance bottlenecks in our build-system. As we start using Bazel in earnest, it'd be good to squash these out.
Epic CRDB-8036
The text was updated successfully, but these errors were encountered: