I was compiling wine from latest git, and since wine is so huge, it takes awfully lot of time, around 20mins or so. Not that im complaining, but it made me wondering how much time my computer needs to compile it and if I could somehow time it. - I could use a timer, but that beats the reason i own a computer in the first place ;) Surprisingly Google didn't provided with anything useful, so anyone has any suggestions or ideas i could try? cheers
stimpak wrote:> I was compiling wine from latest git, and since wine is so huge, it takes awfully lot of time, around 20mins or so. Not that im complaining, but it made me wondering how much time my computer needs to compile it and if I could somehow time it. - I could use a timer, but that beats the reason i own a computer in the first place ;) > > Surprisingly Google didn't provided with anything useful, so anyone has any suggestions or ideas i could try? > > cheersuse the 'time' command: $ time make <lots of make output> real 0m40.541s user 0m7.612s sys 0m2.320s This means that this make (idle run, didn't have new sources to compile) took 40 seconds of wallclock time, 7.6 seconds of CPU time in userspace, and 2.3 seconds of CPU time in kernel space. Note time is a bash builtin, if you want to use the features described in 'man time' you'll have to call /usr/bin/time explicitly.
Gert van den Berg
2009-Jun-27 09:22 UTC
[Wine] Is any way to time (measure) the compiling time?
On Sat, Jun 27, 2009 at 10:51, stimpak<wineforum-user at winehq.org> wrote:> I was compiling wine from latest git, and since wine is so huge, it takes awfully lot of time, around 20mins or so. Not that im complaining, but it made me wondering how much time my computer needs to compile it and if I could somehow time it. - I could use a timer, but that beats the reason i own a computer in the first place ;) > > Surprisingly Google didn't provided with anything useful, so anyone has any suggestions or ideas i could try?time make (see "help time" for info (on bash at least))
Martin Gregorie
2009-Jun-27 10:11 UTC
[Wine] Is any way to time (measure) the compiling time?
On Sat, 2009-06-27 at 03:51 -0500, stimpak wrote:> I was compiling wine from latest git, and since wine is so huge, it > takes awfully lot of time, around 20mins or so. Not that im > complaining, but it made me wondering how much time my computer needs > to compile it and if I could somehow time it. - I could use a timer, > but that beats the reason i own a computer in the first place ;) >$ time make all Time runs whatever command follows it on the line. It reports the elapsed time and the cpu time used. Martin