fix(builtin): improve execution requirements for copy file operations - #3413
Conversation
This reverts commit 3d25cb0.
|
The failure is one that already happened a couple times on other previous builds and seems something flaky not related with that PR. |
|
Retrying that windows step |
|
Thanks for the PR @mistic. No sandbox should export_directories_only bit faster. I'd like to run some benchmarks on not using the disk cache with a large set on npm deps. How large is your set of npm deps that you're seeing performance issues with the TreeArtifact on? |
That is definitely the case on @gregmagolan I have around ~833 top level node_modules overall listed in the package.json (dev + prod) (which expands into more modules as they have dependencies too) https://github.com/elastic/kibana/blob/main/package.json#L100 but the average package build should have around ~15 top level modules dependencies (plus their transitive deps) https://github.com/elastic/kibana/blob/main/packages/kbn-config/BUILD.bazel#L49 From |
|
@mistic this tiny clean-up PR is going to merge, so that last comment for Greg will be orphaned. I don't think this is the best thread to go into those details since it's orthogonal to this change. |
This PR is recreating what was done at bazel-contrib/bazel-lib#79. It doesn't solve the performance decreasing introduced on v5 for
macOSbut it help by a small percentage and something we should have anyway. It can also be backported into4.xI think.