From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs HTTP libraries [was: Re: How to contribute new package to GNU ELPA?] Date: Tue, 22 Dec 2020 19:15:39 +0200 Message-ID: <83ft3xrcck.fsf@gnu.org> References: <87mty5g4k8.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7755"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, rms@gnu.org, arthur.miller@live.com, emacs-devel@gnu.org To: "Philip K." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 22 18:17:17 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1krlHh-0001so-4z for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Dec 2020 18:17:17 +0100 Original-Received: from localhost ([::1]:39056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krlHg-00046i-5I for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Dec 2020 12:17:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krlGa-0003Rs-NG for emacs-devel@gnu.org; Tue, 22 Dec 2020 12:16:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33727) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krlGU-0007WN-TB; Tue, 22 Dec 2020 12:16:04 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4433 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1krlGL-0005h6-TP; Tue, 22 Dec 2020 12:15:54 -0500 In-Reply-To: <87mty5g4k8.fsf@posteo.net> (philipk@posteo.net) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261513 Archived-At: > From: "Philip K." > Cc: arthur.miller@live.com, adam@alphapapa.net, rms@gnu.org, > emacs-devel@gnu.org > Date: Tue, 22 Dec 2020 17:59:19 +0100 > > >> Either way, this simple request took over 2.5 minutes, whereas curl > >> requires a quarter of a second. Note that this is even unencrypted, so > >> this is not even taking the encryption overhead into account. > > > > That's strange, because I get here much faster times: 0.6 sec (with 3 > > GC cycles) on the first attempt, and less than 0.1 sec afterwards. > > Why did it take three GC cycles? There's no way for me to know. It could well be that the previous commands, which had nothing to do with the benchmark, produced enough garbage for GC to kick in at that point. > benchmark-run says > > (130.773534384 0 0.0) > > and > > (129.933227402 0 0.0) > > for the first two runs, and > > (0.044592597 0 0.0) > > for the third one, a bit later. The last one sounds comparable to what I see. So maybe the long time has nothing to do with Emacs, but with something else. Perhaps this is because DNS is asynchronous on your system? > I guess this should be reported as a proper bug, instead of being > discussed here. Yep.