emacs-devel
[Top][All Lists]
Advanced

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

Re: How to make 'load' fast in window?


From: Fabrice Popineau
Subject: Re: How to make 'load' fast in window?
Date: Tue, 14 Jun 2016 20:39:34 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eli Zaretskii <eliz <at> gnu.org> writes:

> 
> > From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> > Date: Tue, 14 Jun 2016 07:36:19 +0000 (UTC)
> > 
> > > download pyim-bigdict-cf210fa066f2fa18c1606eeddfffcf84.el from  
> > https://github.com/tumashu/tumashu-temp-filesand eval: 
> > > 
> > > #+BEGIN_EXAMPLE        (setq pyim-dict-cache              (with-temp-
> > buffer                (insert-file-contents "/path/to/pyim-bigdict-
> > cf210fa066f2fa18c1606eeddfffcf84.el")                (eval (read (current-
> > buffer)))))#+END_EXAMPLE
> > > 
> > 
> > So, starting from `emacs -Q' on an i7-4702HQ with emacs-25.0.94, windows 
> > 10, 
I 
> > get a user time of about 4s and the following profiler report:
> 
> On an i7 system I get 0.6s with Emacs 25.0.95 and 2s with 24.5.  Both
> are optimized (-O2) builds.  This is comparable with the GNU/Linux
> results, and is what I'd expect.  Unless yours are not -O2, I don't
> understand how you get so much slower times.

I was running in economy mode power plan :-)

$ time ../../build-emacs-25/src/emacs -Q -batch -l test.el

real    0m0.737s
user    0m0.000s
sys     0m0.015s

So yes, he must be using an unoptimized build.

Fabrice

reply via email to

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