Eelco Dolstra wrote:
"nix-env -i" is indeed surprisingly slow---"surprisingly" because other
operations like `nix-build' don't seem to take that long...

It has gotten a lot slower over the last few months: it used to take 2 or 3 seconds (provided that all the Nix expressions where in the disk cache - all the seek times for those small files add up), but now it's more like 10. This is probably because some expensive computations are being done in Nix expressions (like the uniqList function) which might be done in a different way or turned into primops.

So we should do some profiling...

Yes please :)  nix-env -qa something  takes ages, too :(


Regards,
apfelmus

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to