←back to thread

392 points mfiguiere | 1 comments | | HN request time: 0s | source
Show context
jeffbee ◴[] No.35471168[source]
Hrmm, it makes performance claims with regard to Buck1 but not to Bazel, the obvious alternative. Hardly anyone uses Buck1 so you'd think it would be relevant.
replies(4): >>35471239 #>>35471275 #>>35472290 #>>35475655 #
dtolnay ◴[] No.35471239[source]
I have a non-toy multi-language project in https://github.com/dtolnay/cxx for which I have both Buck2 and Bazel build rules.

On my machine `buck2 clean && time buck2 build :cxx` takes 6.2 seconds.

`bazel clean && time bazel build :cxx` takes 19.9 seconds.

replies(2): >>35471321 #>>35471495 #
1. jeffbee ◴[] No.35471495[source]
Anyway regardless of the fact that my local Rust environment isn't cut out to repro your result, how much of that speedup is due to parallelism that Buck2 offers and Bazel does not? When I build your cxx repo with bazel and load the invocation trace, the build was fully serialized.