[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Optimizing ‘guix package’
From: |
Ludovic Courtès |
Subject: |
Optimizing ‘guix package’ |
Date: |
Wed, 02 Apr 2014 16:14:30 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Mark H Weaver <address@hidden> skribis:
> * Although I can now run union-build in 2 minutes, another full minute
> is spent in 'display-search-paths',
Commit 27c6845 optimizes that (50%!).
The problem is that currently this is an inherently inefficient
operation: search path information is not stored in the manifest, so
‘search-path-environment-variables’ has to look up the package
corresponding to each manifest entry to find out what the search path
variables are. That involves traversing the module tree, which does a
lot of I/O (this is OKish on an SSD, but much less on a real hard disk.)
Perhaps eventually we could store search path info in manifest entries.
Ludo’.
- Optimizing ‘guix package’,
Ludovic Courtès <=