help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Lexical binding doesn't seem to be faster?


From: Stefan Monnier
Subject: Re: Lexical binding doesn't seem to be faster?
Date: Mon, 11 Mar 2019 15:26:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> 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



reply via email to

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