Skip to content
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

Sandbox filesystem creation slow on OSX #20489

Closed
DavidZbarsky-at opened this issue Dec 11, 2023 · 1 comment
Closed

Sandbox filesystem creation slow on OSX #20489

DavidZbarsky-at opened this issue Dec 11, 2023 · 1 comment
Labels
duplicate team-Performance Issues for Performance teams type: bug

Comments

@DavidZbarsky-at
Copy link

Description of the bug:

When using rules_js for JS projects, NPM packages are modeled as TreeArtifacts. This helps with analysis phase performance, but actions still have high overhead because TreeArtifacts are expanded, even with --noenable_runfiles.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

https://github.com/DavidZbarsky-at/nodejs-repro shows a typical JS target using node_modules, as well as reproduces the slowness directly with simple TreeArtifacts of various sizes

Which operating system are you running Bazel on?

OSX

What is the output of bazel info release?

release 7.0.0-pre.20231011.2

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

From a long time ago :) See #5971 (comment)

Have you found anything relevant by searching the web?

#8230

Any other information, logs, or outputs that you want to share?

No response

@oquenchil
Copy link
Contributor

Duplicate of #8230. We are working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate team-Performance Issues for Performance teams type: bug
Projects
None yet
Development

No branches or pull requests

5 participants