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: Mon, 21 Dec 2020 19:23:23 +0200 Message-ID: <83blenrs38.fsf@gnu.org> References: <15c3cc00-f56e-6e52-2228-30817639315a@gmail.com> <87v9cwek4u.fsf_-_@alphapapa.net> <874kkfgkob.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4387"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, rms@gnu.org, emacs-devel@gnu.org To: "Philip K." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 21 18:24:20 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 1krOuv-00010f-Q3 for ged-emacs-devel@m.gmane-mx.org; Mon, 21 Dec 2020 18:24:17 +0100 Original-Received: from localhost ([::1]:49102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krOuu-0004SU-RY for ged-emacs-devel@m.gmane-mx.org; Mon, 21 Dec 2020 12:24:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krOuS-00042z-0f for emacs-devel@gnu.org; Mon, 21 Dec 2020 12:23:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41734) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krOuQ-00030V-NU; Mon, 21 Dec 2020 12:23:46 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3679 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1krOuJ-0000YM-Eu; Mon, 21 Dec 2020 12:23:39 -0500 In-Reply-To: <874kkfgkob.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:261394 Archived-At: > From: "Philip K." > Date: Mon, 21 Dec 2020 17:59:00 +0100 > Cc: Adam Porter , emacs-devel@gnu.org > > I think the main issue is that url.el can often be rather slow, > sometimes taking half a minute or more to complete a request that would > take curl or other libraries a blink of an eye. Before this is taken as an indication that using one of these libraries will automagically make Emacs as fast as the applications like curl, we should carefully profile url.el and find out which part(s) of it cause the slowness. Because it could well be that what makes url.el slow will also make Emacs using libcurl slow.