all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: joaotavora@gmail.com (João Távora)
Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org
Subject: Re: Emacs pretest -- electric-pair-mode change
Date: Fri, 04 Apr 2014 10:53:06 +0300	[thread overview]
Message-ID: <83ha69a5ul.fsf@gnu.org> (raw)
In-Reply-To: <87sipujhq2.fsf@kitaj.lan>

> From: joaotavora@gmail.com (João Távora)
> Date: Thu, 03 Apr 2014 21:11:49 +0100
> Cc: emacs-devel@gnu.org
> 
> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> 
> >>> [ Unrelated: it's odd that the speed should depend on the OS.  ]
> >> I'm using two relatively similar dual-core machines. In windows I use
> > Ah, so the difference is in the way they're compiled.
> 
> Of course, scheduling aside, in the end that's always true :-).

Scheduling is not really relevant here, since Emacs has only one
thread that runs Lisp, and its other threads, if there are any, don't
run any computation-intensive tasks that could yield user-visible
speed differences.

> I might have misunderstood Eli Zaretskii's:
> 
>    http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00930.html

That just describes how Windows binaries are compiled, but says
nothing about their speed relative to other systems.

> But in general, is the machine-code for windows builds exactly the same
> (or very similar) as linux for things involved in these operations?

It's the same compiler (GCC) and similar or identical machine
architectures, so I don't expect very different code.  Optimizations
change things, of course, but only by a factor of about 2.  Any
greater speed difference is due to something else.

> If so, how can I check the compile flags of a build?

"M-: system-configuration-options RET"

> Because mine really is slower. My OSX build is also much slower,
> FWIW, not as slow as windows tho.

Again, if the slow-down is more than twice, it's not the compiler
switches.  You should also compare the CPU speed for a single core.
Or just rebuild the same code with different optimizations and see if
you get the slower/faster speed.




  parent reply	other threads:[~2014-04-04  7:53 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CADWZ7fJCws0SO1hEn38CpbRMq+Uw397uCFUnA=YJvOaLVEA8UQ@mail.gmail.com>
2014-03-31 13:27 ` Emacs pretest Stefan Monnier
2014-03-31 13:52   ` Bastien
2014-03-31 14:36   ` Tassilo Horn
2014-03-31 15:55   ` João Távora
2014-03-31 16:34     ` Stefan Monnier
2014-04-02 10:11       ` Emacs pretest -- electric-pair-mode change João Távora
2014-04-02 12:58         ` Stefan Monnier
2014-04-02 17:21           ` João Távora
2014-04-02 22:58             ` Stefan Monnier
2014-04-03 11:06               ` João Távora
2014-04-03 14:22                 ` Stefan Monnier
2014-04-03 16:56                   ` João Távora
2014-04-03 17:33                     ` Stefan Monnier
2014-04-03 20:11                       ` João Távora
2014-04-03 20:54                         ` Stefan Monnier
2014-04-04  8:08                           ` João Távora
2014-04-04 12:53                             ` Stefan Monnier
2014-04-04 23:31                               ` João Távora
2014-04-05 15:29                                 ` Stefan Monnier
2014-04-07  7:43                                   ` João Távora
2014-04-07 14:04                                     ` Stefan Monnier
2014-04-04  7:53                         ` Eli Zaretskii [this message]
2014-04-04  9:49                           ` João Távora
2014-04-11 14:42                       ` Kevin Rodgers
2014-04-11 15:53                         ` Stefan Monnier
2014-04-11 18:23                           ` João Távora
2014-04-11 19:58                             ` Stefan Monnier
2014-04-12  0:42                               ` João Távora
2014-04-11 16:08                         ` João Távora
2014-04-03 19:13                   ` Eli Zaretskii
2014-04-03 12:15             ` Dmitry Gutov
2014-04-03 13:43               ` João Távora
2014-04-03 15:24                 ` Stefan Monnier
2014-04-03 14:24               ` Stefan Monnier
2014-04-01 15:15   ` Emacs pretest Dmitry Antipov
2014-04-01 16:36     ` Dmitry Antipov
2014-04-02 12:37       ` Stefan Monnier
2014-04-01 20:50   ` Stephen Berman

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=83ha69a5ul.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=monnier@IRO.UMontreal.CA \
    /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.