all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compilation of Emacs trunk (24) too slow.
@ 2012-12-18 19:11 Oleksandr Gavenko
  2012-12-18 21:37 ` Yagnesh Raghava Yakkala
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2012-12-18 19:11 UTC (permalink / raw)
  To: help-gnu-emacs

It takes about 10 min for processing lines likes:

  Reloading stale files.el
  Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/files.el (source)...
  Reloading stale loaddefs.el
  Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/loaddefs.el (source)...

which printed many times (on "make" command in out of source build).
loaddefs.el is about 1.2 MiB files.el is about 300 KiB.

So my Emacs build with -j2 still not complete for second evening after job...

Am I anything missing in current Emacs design?

-- 
Best regards!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation of Emacs trunk (24) too slow.
  2012-12-18 19:11 Compilation of Emacs trunk (24) too slow Oleksandr Gavenko
@ 2012-12-18 21:37 ` Yagnesh Raghava Yakkala
  2012-12-19 19:43   ` Oleksandr Gavenko
  0 siblings, 1 reply; 4+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-12-18 21:37 UTC (permalink / raw)
  To: help-gnu-emacs


Hello,

On 12月 19 2012, Oleksandr Gavenko <gavenkoa@gmail.com> wrote:

> It takes about 10 min for processing lines likes:
>
>   Reloading stale files.el
>   Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/files.el (source)...
>   Reloading stale loaddefs.el
>   Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/loaddefs.el (source)...
>
> which printed many times (on "make" command in out of source build).
> loaddefs.el is about 1.2 MiB files.el is about 300 KiB.
>
> So my Emacs build with -j2 still not complete for second evening after job...
>
> Am I anything missing in current Emacs design?

Just built with "make -j2"  on Gnu/linux

,----[emacs-24 branch]
| real	7m24.100s
| user	11m54.270s
| sys	1m24.510s
`----

,----[trunk]
| real	8m5.704s
| user	12m9.180s
| sys	1m26.470s
`----

CPU details:
,----[ cat /proc/cpuinfo | grep "Intel" ]
| vendor_id	: GenuineIntel
| model name	: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz
| vendor_id	: GenuineIntel
| model name	: Intel(R) Core(TM)2 CPU          6700  @ 2.66GHz
`----

--
ఎందరో మహానుభావులు అందరికి వందనములు
YYR




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation of Emacs trunk (24) too slow.
  2012-12-18 21:37 ` Yagnesh Raghava Yakkala
@ 2012-12-19 19:43   ` Oleksandr Gavenko
  2012-12-19 22:29     ` Yagnesh Raghava Yakkala
  0 siblings, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2012-12-19 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

On 2012-12-18, Yagnesh Raghava Yakkala wrote:

> On 12月 19 2012, Oleksandr Gavenko wrote:
>
>> It takes about 10 min for processing lines likes:
>>
>>   Reloading stale files.el
>>   Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/files.el (source)...
>>   Reloading stale loaddefs.el
>>   Loading /home/user/devel/emacs/emacs-bzr/trunk/lisp/loaddefs.el (source)...
>>
>> which printed many times (on "make" command in out of source build).
>> loaddefs.el is about 1.2 MiB files.el is about 300 KiB.
>>
>> So my Emacs build with -j2 still not complete for second evening after job...
>>
>> Am I anything missing in current Emacs design?
>
> Just built with "make -j2"  on Gnu/linux
>
> ,----[emacs-24 branch]
> | real	7m24.100s
> | user	11m54.270s
> | sys	1m24.510s
> `----
>
> ,----[trunk]
> | real	8m5.704s
> | user	12m9.180s
> | sys	1m26.470s
> `----

Ok, I get it.

I configure with:

  opt='--enable-checking=all --enable-autodepend --enable-dependency-tracking'

I don't check which of this option make Emacs (temacs or how it called during
build) tooooo slow.

I think that this is a '--enable-checking=all' but don't try. Just disable all
of them. Am I right?

From 'configure':

  --enable-dependency-tracking   do not reject slow dependency extractors

  --enable-checking[=LIST]
                          enable expensive run-time checks. With LIST, enable
                          only specific categories of checks. Categories are:
                          all,yes,no. Flags are: stringbytes, stringoverrun,
                          stringfreelist, xmallocoverrun, conslist, glyphs

-- 
Best regards!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation of Emacs trunk (24) too slow.
  2012-12-19 19:43   ` Oleksandr Gavenko
@ 2012-12-19 22:29     ` Yagnesh Raghava Yakkala
  0 siblings, 0 replies; 4+ messages in thread
From: Yagnesh Raghava Yakkala @ 2012-12-19 22:29 UTC (permalink / raw)
  To: help-gnu-emacs


> I think that this is a '--enable-checking=all' but don't try. Just disable all
> of them. Am I right?

Not sure. I never bothered to check them and I simply don't give any configure
flags (except --prefix)

On Ubuntu I have a long script which does simply the following.. 

#+begin_src sh
sudo apt-get build-dep emacs23          # first time only
git clone git://repo.or.cz/emacs.git    # or git pull
cd emacs
./autogen.sh
./configure --prefix=~/local/emacs-commit-hash
make bootstrap 
make install
#+end_src

Thanks.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు
YYR




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-19 22:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18 19:11 Compilation of Emacs trunk (24) too slow Oleksandr Gavenko
2012-12-18 21:37 ` Yagnesh Raghava Yakkala
2012-12-19 19:43   ` Oleksandr Gavenko
2012-12-19 22:29     ` Yagnesh Raghava Yakkala

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.