From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.devel Subject: Re: How to make 'load' fast in window? Date: Wed, 15 Jun 2016 17:30:09 +0200 Message-ID: References: <69267f1.4532.15547978bb7.Coremail.tumashu@163.com> <65b7225c.5e6c.1554cf0f4a4.Coremail.tumashu@163.com> <83wplreske.fsf@gnu.org> <16b0e6e3.3bf4.15551f49e0b.Coremail.tumashu@163.com> <83a8imecgu.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113d0114229e47053552cd19 X-Trace: ger.gmane.org 1466004750 6685 80.91.229.3 (15 Jun 2016 15:32:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jun 2016 15:32:30 +0000 (UTC) Cc: tumashu , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 15 17:32:21 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bDCnl-00006H-9s for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 17:32:21 +0200 Original-Received: from localhost ([::1]:42970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDCnk-0003Ao-F5 for ged-emacs-devel@m.gmane.org; Wed, 15 Jun 2016 11:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDCm3-0002Dx-1A for emacs-devel@gnu.org; Wed, 15 Jun 2016 11:30:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDCm0-0006sA-Jp for emacs-devel@gnu.org; Wed, 15 Jun 2016 11:30:33 -0400 Original-Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:34106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDClx-0006pf-DI; Wed, 15 Jun 2016 11:30:29 -0400 Original-Received: by mail-ob0-x230.google.com with SMTP id y7so1305703obt.1; Wed, 15 Jun 2016 08:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8apZ4XqoIIrqxN1cQTIWIA+tgKf/FCcNUcFxo8lJ8jM=; b=Icek4264OoDnUQzNnGGveH9sSw4NbUxnJdQzupbQJSKHGhCKoUcC78oms2jPNGAyOG Tu/InJwQHSmAurhfqAnT5wnqAqQ629zEIie+Ak36ILor0SUcNeNHQUlYMkqJ9n+lUGjz BK8r4nSRO4qcowRTqwMae6ht7gORlanFmEeN6mlPiDLkEliTiGMjVtFsWLnfQCbGJpPG dAhhkfqETgUXY0L5qS67FZk6jwyK9uzr/uj6i2QgEqqZfgHj1Ss8z0p1pvIn2ry5hxyR rVA/UFpRX3k5GkgY3AozC2vdCrm+D/91PxbnWncZZ36I/EzNzRrKVh3KDe7b6PaToA+d KlTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8apZ4XqoIIrqxN1cQTIWIA+tgKf/FCcNUcFxo8lJ8jM=; b=jRFaZdVVYC6LVLKa1jHZc20AsQwAba3nSFNCtCFzR8px5SODaS890UF9tUnWQ4uQ8P nQe8hkE0Pfp4oNM9vwAGhIR8MHds7cbCYFiTKWTnLdInOb4t3YL25d0XHkanoaLuR9/i +ArmwZ66OPUtRpg4DArI0lpI6TtH1a5OJIGmCP0gptHollt7+iL76wTLBKWOjfxaFGLS So0BjdoLcxNE9wX+/L8TmOHVqtIN79vxg7uV9EMCVgqv3M/5uOA3pukpkMp+Frxp0auM NXfxmKv5UygpPBzdP5qYzCBnEJQRbHQM3fmz9Pz9CmDWjQk0P3bygllzhYJDvLCW9von w2qA== X-Gm-Message-State: ALyK8tLKpMve4+nFjbxcVdBEsQ4Id1C/LXSl2DB886NsmwbsWJAZxCWBHK013iwqW9zxaipgw7oIRdCJuK9+Jw== X-Received: by 10.157.27.146 with SMTP id z18mr14428589otd.16.1466004628739; Wed, 15 Jun 2016 08:30:28 -0700 (PDT) Original-Received: by 10.202.212.139 with HTTP; Wed, 15 Jun 2016 08:30:09 -0700 (PDT) In-Reply-To: <83a8imecgu.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204396 Archived-At: --001a113d0114229e47053552cd19 Content-Type: text/plain; charset=UTF-8 2016-06-15 16:46 GMT+02:00 Eli Zaretskii : > > Date: Wed, 15 Jun 2016 10:47:13 +0800 (CST) > > From: tumashu > > Cc: "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. Fabrice --001a113d0114229e47053552cd19 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


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=C2=A0 <tumashu@163= .com>
> Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org= >
>
> emacs 24.5 is downloaded from ftp://ftp.gnu.org/gnu/emacs/w= indows/ , I don't know whether it is enable -02,

What is the value of system-configuration-options in that build?=C2=A0 And<= br> 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.=C2=A0 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 =C2=A0ftp://ftp.gnu.org/gnu/emacs/windows/

and I get= :

$ time bin/emacs -Q -batch -l d:/Source/emacs/elisp= /tumashu-temp-files/test.el =C2=A0
real =C2= =A0 =C2=A00m3.171s
user =C2=A0 =C2=A00m0.00= 0s
sys =C2=A0 =C2=A0 0m0.015s
So there is definitely something wrong with the 40s reported.

Fabrice
--001a113d0114229e47053552cd19--