emacs-devel
[Top][All Lists]
Advanced

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

Re: Sv: Emacs HTTP libraries [was: Re: How to contribute new package to


From: Clément Pit-Claudel
Subject: Re: Sv: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?]
Date: Tue, 30 Mar 2021 15:53:21 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 3/30/21 1:03 PM, Eli Zaretskii wrote:
>> Cc: emacs-devel@gnu.org
>> From: Clément Pit-Claudel <cpitclaudel@gmail.com>
>> Date: Tue, 30 Mar 2021 12:49:25 -0400
>>
>> (let ((read-process-output-max (expt 2 22)))
>>   (benchmark-run 1 (url-retrieve-synchronously
>>                       "https://ftp.gnu.org/gnu/emacs/emacs-27.2.tar.xz";)))
>> ⇒ (2.719771409 7 1.9299083920000157)
>>
>> Although, to be fair, I'm not sure what to make of these numbers.  With the 
>> GC change only, for example, Emacs reports 1.45s after freezing for 7 to 8 
>> seconds, not 1.45 — I guess that's because the GC runs after the 
>> benchmarking completes?
> 
> Yes, that's what I'd expect.
> 
> So it seems like Emacs networking is not so slow, at least in this
> simple benchmark.

Not if you turn off garbage collection, indeed (except for the fact that you 
pay for it later on), but wouldn't a native library remove that GC pressure?



reply via email to

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