[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: Re: [Nix-dev] purescript takes 4+ hours to build a hello world app on nixos
From: stewart mackenzie <setori88 () gmail ! com>
Date: 2017-01-29 17:15:46
Message-ID: CA+Lh=n2je7a1pWY6975zw+zJBMg+xg=P99Y1vXqWR0-_A+Omuw () mail ! gmail ! com
[Download RAW message or body]
On Mon, Jan 30, 2017 at 1:02 AM, Sergei Trofimovich <slyich@gmail.com> wrote:
> On Sun, 29 Jan 2017 18:48:14 +0800
> Your system time
>
> real 22m21.918s
> user 13m49.982s
> sys 23m1.702s
>
> suggests something is seriously off on your system.
> Perhaps machine is swapping heavily.
>
> If it works that long for you you should be able
> to explore the problem as it goes with tools like
> 'perf top', 'strace' and others.
If I do this:
$ mkdir tempdir
$ cd tempdir
$ npm install bower pulp
$ ./node_modules/.bin/pulp init
$ time ./node_modules/.bin/pulp build
* Building project in /home/stewart/dev/fractalide/capnpc-purescript
* Build successful.
real 0m1.127s
user 0m1.342s
sys 0m0.188s
Regarding swap:
Also when I checked htop during the `nix-build` in
nix-purescript-skeleton repo swap shows no indication of thrashing.
Kinda nasty using perf top due to permission issues.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic