-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
build-node-package.nix takes excessive amount of time #18090
Comments
I wonder, how do you know 23% of time is spent on nodejs stuff? |
Just by disabling node-packages.nix:
|
@svanderburg how is the new code performance comparing to previous? |
This seems to be fixed (texlive is now at the top of that listing). |
Yep, looks fine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
A profile of
NIX_COUNT_CALLS=1 nix-env -qa --drv-path
on Nixpkgs master shows thatbuild-node-package.nix
is the most dominant function during evaluation:In fact about 23% of Nixpkgs evaluation time is spent in nodejs stuff.
This is strange because hardly any nodejs packages are included in the output:
So it looks like there is some opportunity for optimisation here...
Steps to reproduce
Technical details
The text was updated successfully, but these errors were encountered: