emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two strange messages while building Emacs on MS-Windows


From: Dani Moncayo
Subject: Re: Two strange messages while building Emacs on MS-Windows
Date: Tue, 11 Dec 2012 21:41:55 +0100

> So now the new mystery is: why does it take you a whopping 7.5 min to
> compile the C sources of Emacs?  It takes about 30 sec for me with GCC
> 3.4.x; GCC 4.7.2 that you use should be about 2 times slower, so I'd
> expect something like 1 min, not 7.5.
>
> Try this:
>
>   cd nt
>   touch ../src/config.h
>   make -j6
>
> and time the last command.

0:51

>>   $ time /c/emacs/trunk/bin/emacs --batch --eval '(message "Hello")'
>>   Hello
>>
>>   real    0m1.189s
>>   user    0m0.031s
>>   sys     0m0.000s
>
> Maybe that's your problem.  Does the time go down if you repeat that
> command?

I've tried that now, and I observe that the "real" component varies
between 145 and 200 ms (without decreasing or increasing tendency;
it's kinda random).

I don't understand such big difference with the previous measure.

In any case, the total bootstrap time keeps about the same: about 15 min.

> If it doesn't, you may wish to try from cmd.exe.

I don't know what's the best way to measure execution time from a
cmd.exe shell.  I've written this script:
  @echo Start %time%
  @C:\emacs\trunk\bin\emacs --batch --eval '(message "Hello")'
  @echo End %time%

And I get this output when I run it:
  Start 21:33:04.25
  Loading macroexp.elc...
  End of file during parsing
  End 21:33:04.42

-- 
Dani Moncayo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]