-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Sandbox slowness on OSX #8230
Copy link
Copy link
Open
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Local-ExecIssues and PRs for the Execution (Local) teamIssues and PRs for the Execution (Local) teamtype: bug
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Local-ExecIssues and PRs for the Execution (Local) teamIssues and PRs for the Execution (Local) teamtype: bug
Description of the problem / feature request:
building has been extremely slow with the default darwin-sandbox
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
A mini repro could be found in https://github.com/alexeagle/rules_sass_repro
The repro contains 40 empty sass files
Running the sass compiler on them should be fast
bazel build :all takes ~60s on my mac
bazel build --strategy=SassCompiler=local :all takes ~4s
What operating system are you running Bazel on?
Mac OS 10.14.4
What's the output of
bazel info release?release 0.25.0
Have you found anything relevant by searching the web?
I found these issues: #902 and #1836 but they all seem obsolete.
JSON profile
According to https://docs.bazel.build/versions/master/skylark/performance.html#json-profile, I grabbed profiles for different strategies:
profiles.zip