From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Hi-Angel <hiangel999@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Lexical binding doesn't seem to be faster?
Date: Mon, 11 Mar 2019 15:26:49 -0400 [thread overview]
Message-ID: <jwv7ed5jk1a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAHGDjgCdyQRj2POpDhryKAynV4zHv9oHcxNhmwQAXJAJegBFLA@mail.gmail.com> (Hi-Angel's message of "Mon, 11 Mar 2019 22:16:33 +0300")
> So, it turned out to be a bug in linux 4.20.5 and earlier, so I
> updated to 5.0, and everything is fine now.
Hmm... still at 4.18 here, so no wonder I wasn't seeing this problem.
> I re-run tests, benchmark results now are tiny bit better for lexical
> scope when GC is on, and are the same when GC is off:
>
> With GC:
> t: (8.451301031000002 87 1.5439787770000004), (8.492936438 85 1.527223621)
> nil: (8.654444538 87 1.5810563760000003), (8.549887916 85
> 1.5612690489999996)
>
> No GC:
> t: (7.548030708 0 0.0) (7.591869120999999 0 0.0)
> nil: (7.519884027 0 0.0) (7.577961806 0 0.0)
Hmm... looks like the difference might be statistically insignificant
after all (or maybe lexical-binding makes cc-engine.el marginally
faster, so it hides the slight slowdown in cc-mode.el). I think you
might decide to drop this investigation, at least until you find more
clear evidence of a slowdown.
Stefan
> On Mon, 11 Mar 2019 at 00:22, Hi-Angel <hiangel999@gmail.com> wrote:
>>
>> done https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34809
>>
>> On Sun, 10 Mar 2019 at 23:48, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> >
>> > > Do you want me to open a report for above?
>> >
>> > Yes, please: this is definitely not right.
>> >
>> >
>> > Stefan
prev parent reply other threads:[~2019-03-11 19:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-06 23:36 Lexical binding doesn't seem to be faster? Hi-Angel
2019-03-08 5:39 ` Stefan Monnier
2019-03-08 8:30 ` tomas
2019-03-08 13:53 ` Stefan Monnier
2019-03-09 8:21 ` tomas
2019-03-08 13:33 ` Hi-Angel
2019-03-09 15:06 ` Stefan Monnier
2019-03-10 15:16 ` Hi-Angel
2019-03-10 16:14 ` Hi-Angel
2019-03-10 18:07 ` Stefan Monnier
2019-03-10 18:47 ` Hi-Angel
2019-03-10 18:59 ` Stefan Monnier
2019-03-10 19:53 ` Hi-Angel
2019-03-10 20:48 ` Stefan Monnier
2019-03-10 21:22 ` Hi-Angel
2019-03-11 19:16 ` Hi-Angel
2019-03-11 19:26 ` Stefan Monnier [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv7ed5jk1a.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
--cc=hiangel999@gmail.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).