[Nix-dev] Re: FOSDEM 2008 meeting
apfelmus
apfelmus at quantentunnel.de
Tue Feb 12 11:42:12 CET 2008
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
More information about the nix-dev
mailing list