From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4718da81f880d3bb87e29f29fe663a79@ladd.quanstro.net> References: <4718da81f880d3bb87e29f29fe663a79@ladd.quanstro.net> Date: Mon, 17 Jan 2011 17:05:27 +0200 Message-ID: From: Ciprian Dorin Craciun To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] `mk` (from Plan9 ports) efficiency related issue Topicbox-Message-UUID: 9cf2e8c6-ead6-11e9-9d60-3106f5b1d025 On Mon, Jan 17, 2011 at 16:59, erik quanstrom wrote= : >> =C2=A0 =C2=A0 Any ideas what could cause this? > > have you tried profiling mk? > > - erik In fact I tried to `strace -f -T` it and it seems that in the first second or so it `stats` all the files that exist, and then it just waits 14 seconds computing something (100% processor), and concludes that all is already built. (This is after I've already successfully built it once). But any further profiling I didn't do as I've stumbled upon this issue just about an hour ago... Ciprian.