-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Extremely slow with 100% CPU usage #8801
Labels
Comments
HommeSauvage
added
kind: bug
Something isn't working
needs: triage
New issues get this label. Remove it after triage
owned-by: turborepo
labels
Jul 22, 2024
Out of curiosity, does it happen with the old ui as well for you? Because I have similar issue that was fixed by disabling the new one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Verify canary release
Link to code that reproduces this issue
Not easy to reproduce as it's a monorepo with lots of files to build
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
2.0.9
Describe the Bug
When build a monorepo with 43 packages, turbo is being EXTREMELY slow and basically blocks the computer at 100% usage.
If I run the same build of the whole monorepo with
pnpm -r build
, there is some usage, but the expected kind of CPU usage, it build without issues and I can continue to work.With turbo, same number of packages to build, it blocks completely the computer with 100% usage. I tried to build with the profiler on, here's the link: https://github.com/DriveFlux/turbo-debug/blob/main/profile.json
Expected Behavior
To build with roughly the same CPU usage as
pnpm -r build
To Reproduce
To have a mixture of a couple of packages with prisma (each package generates its own prisma file) and we use SWC to build.
I would like to share the
profile
first, if that doesn't help, I will try to invest some time in making a complete reproduction.Additional context
One funny thing happening with
turbo
versuspnpm
is the appearance of the little window for a split second for each package being built (It's verifying something it seems, the same kind of window you get when running a new software). This doesn't happen withpnpm -r build
.Here's the turbo.json file:
The text was updated successfully, but these errors were encountered: