From: "Feng Shu" <tumashu@163.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Cc: Feng Shu <tumashu@163.com>
Subject: Re: How to make 'load' fast in window?
Date: Thu, 16 Jun 2016 06:41:06 +0800 [thread overview]
Message-ID: <87a8imvzwd.fsf@163.com> (raw)
In-Reply-To: <CAFgFV9OtHpXL1hAi32ad9Vi2BL2ySY2-K8NSKJLb+BQD=Fc8TQ@mail.gmail.com> (Fabrice Popineau's message of "Wed, 15 Jun 2016 17:30:09 +0200")
Fabrice Popineau <fabrice.popineau@gmail.com> writes:
> 2016-06-15 16:46 GMT+02:00 Eli Zaretskii <eliz@gnu.org>:
>
> > Date: Wed, 15 Jun 2016 10:47:13 +0800 (CST)
> > From: tumashu <tumashu@163.com>
> > Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> >
> > emacs 24.5 is downloaded from ftp://ftp.gnu.org/gnu/emacs/windows/ , I don't know whether it is enable
> -02,
>
> What is the value of system-configuration-options in that build? And
> what is its value in the GNU/Linux build with which you are comparing?
>
> > May be my machine is too slow, Thinkpad s3-s440
> >
> > 1. i5-4210U
> http://ark.intel.com/products/81016/Intel-Core-i5-4210U-Processor-3M-Cache-up-to-2_70-GHz
> > 2. 4G RAM
>
> Unlikely. On an i3, I get 0.9s with v25.0.95 and 3.9s with 24.5, so
> i5 should be faster than that in a build with similar optimization
> options.
>
> I used the emacs-24.5 build from ftp://ftp.gnu.org/gnu/emacs/windows/
>
> and I get :
>
> $ time bin/emacs -Q -batch -l d:/Source/emacs/elisp/tumashu-temp-files/test.el
> real 0m3.171s
> user 0m0.000s
> sys 0m0.015s
>
> So there is definitely something wrong with the 40s reported.
I just say 15s, not 40s :-), and I use emacs-25.0.92-i686-w64-mingw32.zip
from http://alpha.gnu.org/gnu/emacs/windows/ , and it seem fast as in linux.
#+BEGIN_EXAMPLE
I use "load" function to load a elisp file which include a 40M
hashtable, In linux, it only need 1s, while in window, it
need 15s, which is too slowly,
How to speed it up?
#+END_EXAMPLE
>
> Fabrice
--
prev parent reply other threads:[~2016-06-15 22:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 2:29 How to make 'load' fast in window? tumashu
2016-06-13 5:44 ` Jiege Chen
2016-06-13 13:44 ` Eli Zaretskii
2016-06-13 14:09 ` Fabrice Popineau
2016-06-14 3:25 ` tumashu
2016-06-14 7:36 ` Fabrice Popineau
2016-06-14 14:46 ` Eli Zaretskii
2016-06-14 20:39 ` Fabrice Popineau
2016-06-15 2:47 ` tumashu
2016-06-15 6:51 ` Fabrice Popineau
2016-06-17 8:48 ` Fabrice Popineau
2016-06-15 14:46 ` Eli Zaretskii
2016-06-15 15:15 ` Fabrice Popineau
2016-06-15 15:40 ` Eli Zaretskii
2016-06-15 15:49 ` Fabrice Popineau
2016-06-15 17:23 ` Eli Zaretskii
2016-06-15 15:30 ` Fabrice Popineau
2016-06-15 22:41 ` Feng Shu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8imvzwd.fsf@163.com \
--to=tumashu@163.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.