Open
Description
With this derivation:
{ pkgs ? (import <nixpkgs> {}) }:
pkgs.stdenv.mkDerivation {
name = "robot-that-screams";
buildCommand = ''
for _ in {0..1000000}; do
echo AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
done
'';
}
nix-build runs in under 10 seconds:
nix-build -v --log-format internal-json &> /dev/null 1.89s user 0.79s system 33% cpu 7.898 total
nom-build takes minutes (exact time TBC)
nom-build &> /dev/null 4344.87s user 1614.41s system 114% cpu 1:26:59.89 total