guix-devel/guix
Ludovic Courtès 1cd1d8a7ea
offload: Call 'machine-load' only once per machine.
This fixes a longstanding issue where 'choose-build-machine' would make
on average O(N log(N)) calls to 'machine-load', plus an extra call for
the selected machine, instead of N calls.

* guix/scripts/offload.scm (machine-load): Add comment.
(machine-power-factor, machine-less-loaded-or-faster?): Remove.
(choose-build-machine)[machines+slots]: Rename to...
[machines+slots+loads]: ... this.
[undecorate]: Adjust accordingly.
[machine-less-loaded-or-faster?]: New procedure.
Remove extra 'machine-load' call in body.
2016-11-26 23:21:37 +01:00
..
build syscalls: Add 'add-network-route/gateway' and 'delete-network-route'. 2016-11-21 00:34:48 +01:00
build-system build-system: Add asdf-build-system. 2016-10-08 21:20:35 +08:00
import import/cpan: Maybe coerce version to string. 2016-11-14 00:06:09 +01:00
scripts offload: Call 'machine-load' only once per machine. 2016-11-26 23:21:37 +01:00
tests tests: Move HTTP server to (guix tests http). 2016-11-16 18:00:41 +01:00
base32.scm
base64.scm base64: Restore original license header. 2016-08-27 08:45:27 -05:00
build-system.scm
combinators.scm
config.scm.in pull: Install (guix config) module to override the user's one. 2016-07-20 22:53:02 +02:00
cpio.scm
cve.scm
cvs-download.scm
derivations.scm derivations: Add 'raw-derivation'. 2016-11-19 18:44:53 +01:00
download.scm derivations: Add 'raw-derivation'. 2016-11-19 18:44:53 +01:00
elf.scm
ftp-client.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
gcrypt.scm
gexp.scm derivations: Add 'raw-derivation'. 2016-11-19 18:44:53 +01:00
git-download.scm
gnu-maintenance.scm gnu-maintenance: GNOME updater honors 'upstream-name' package property. 2016-10-20 22:18:59 +02:00
gnupg.scm gnupg: Honor $GUIX_GPG_COMMAND and default to 'gpg'. 2016-09-06 11:12:11 +02:00
grafts.scm grafts: Apply the right grafts in the presence of multiple outputs. 2016-10-17 23:59:03 +02:00
graph.scm
hash.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
hg-download.scm
http-client.scm http-client: Add #:verify-certificate? to 'http-fetch'. 2016-11-12 13:04:45 +01:00
licenses.scm licenses: Export fdl1.2+. 2016-11-01 00:05:22 +00:00
modules.scm Add (guix modules). 2016-09-05 00:06:47 +02:00
monad-repl.scm
monads.scm
nar.scm
packages.scm Merge branch 'master' into core-updates 2016-10-17 16:47:12 -04:00
pk-crypto.scm
pki.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
profiles.scm store: Add 'references*'. 2016-11-19 18:44:53 +01:00
records.scm records: Improve reporting of invalid field specifiers. 2016-07-14 19:07:07 +02:00
scripts.scm emacs: Disable grafts when dry-run is enabled. 2016-07-30 18:17:03 +03:00
search-paths.scm
serialization.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
sets.scm
store.scm store: 'open-connection' can taken an open port. 2016-11-25 23:44:20 +01:00
svn-download.scm
tests.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
ui.scm guix package: Display newline after generation diffs. 2016-11-17 23:49:29 +01:00
upstream.scm
utils.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
zlib.scm zlib: Protect against non-empty port internal buffers. 2016-07-27 12:45:01 +02:00