GNU bug report logs - #38561
27.0.50; Feature request: expose buffer size setting for process filters

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: yyoncho <yyoncho@HIDDEN>; dated Tue, 10 Dec 2019 17:18:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 38561 <at> debbugs.gnu.org:


Received: (at 38561) by debbugs.gnu.org; 21 Dec 2019 17:48:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 12:48:26 2019
Received: from localhost ([127.0.0.1]:48748 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iiirZ-0006OD-PV
	for submit <at> debbugs.gnu.org; Sat, 21 Dec 2019 12:48:25 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54755)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iiirY-0006O1-16
 for 38561 <at> debbugs.gnu.org; Sat, 21 Dec 2019 12:48:24 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60685)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iiirS-0004l7-Ba; Sat, 21 Dec 2019 12:48:18 -0500
Received: from [176.228.60.248] (port=4193 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iiirQ-0001jB-Sw; Sat, 21 Dec 2019 12:48:18 -0500
Date: Sat, 21 Dec 2019 19:47:53 +0200
Message-Id: <83mublzi2e.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: yyoncho <yyoncho@HIDDEN>
In-reply-to: <CACCVLQVcYLZ=LjbhzFd2bUceO8C7h5G_QM3dOdbgvzTz3HdjMg@HIDDEN>
 (message from yyoncho on Sat, 21 Dec 2019 16:43:21 +0200)
Subject: Re: bug#38561: 27.0.50; Feature request: expose buffer size setting
 for process filters
References: <CACCVLQXmYbzZiVjdr8x6dzRQ0nc+Yacs7fR3Kh9P5FRcmk=PUQ@HIDDEN>
 <CACCVLQW0A3ZrzKoRJq_EVxxc_hOhmXvwjxK2CvDdOeBQ2OvnBQ@HIDDEN>
 <83woaqysf2.fsf@HIDDEN>
 <CACCVLQVcYLZ=LjbhzFd2bUceO8C7h5G_QM3dOdbgvzTz3HdjMg@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38561
Cc: 38561 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: yyoncho <yyoncho@HIDDEN>
> Date: Sat, 21 Dec 2019 16:43:21 +0200
> Cc: 38561 <at> debbugs.gnu.org
> 
> I can confirm that changing the new variable value is yielding the same results.

Thanks for testing.

> I have a question on how am I supposed to use the new setting. Is it possible to set it per process?

It's a global variable, so you can't.

> 1. Document it in lsp-mode's readme 
> 2. Override it with a setting in lsp-mode with a bigger value.
> 
> Both have clear advantages and disadvantages. Can you advise? 

I'd suggest the former, because if lsp-mode sets the value, it will
affect the entire Emacs session.

If lsp-mode uses accept-process-output, it could bind the variable
inside the form which calls accept-process-output.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38561; Package emacs. Full text available.

Message received at 38561 <at> debbugs.gnu.org:


Received: (at 38561) by debbugs.gnu.org; 21 Dec 2019 14:43:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 09:43:42 2019
Received: from localhost ([127.0.0.1]:47678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iifyo-0001nf-4N
	for submit <at> debbugs.gnu.org; Sat, 21 Dec 2019 09:43:42 -0500
Received: from mail-lj1-f180.google.com ([209.85.208.180]:46964)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yyoncho@HIDDEN>) id 1iifyl-0001nR-07
 for 38561 <at> debbugs.gnu.org; Sat, 21 Dec 2019 09:43:40 -0500
Received: by mail-lj1-f180.google.com with SMTP id m26so10507574ljc.13
 for <38561 <at> debbugs.gnu.org>; Sat, 21 Dec 2019 06:43:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=EvtFDcvCiPZKuR2itdydf+l6y5lEZPWWsQQtT41Q9f8=;
 b=QO2W4TKDlxVHZtG1U/eyGBetrdJffez0Jb714qH5U7vSKE9azDMlYocZF6JkbcGzq6
 FNKn1pOD6YyTw5TbXcd5poxkOBP8OSxdGqpo7Nn0gdxaOedAzWmmX8dWT7JT7AwTntg6
 llaqtEIu7oepihJvwouuV9vd7pCKjPPCdRgJNPSp/1+5aMdJYWMbX50XrjsDoKrEOY8E
 epSOruv1OdrHqhfth2bPEBH+iTQNpIqtvitNG91P+wsLjnmYLK0e1rktZkDiIXN84juR
 HVd5WWXh9AThSA78gilQueeyhSZxEa44lyFcFAJNofpeeYJ4vevrTvzdI1i9FcmszpnM
 JXgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=EvtFDcvCiPZKuR2itdydf+l6y5lEZPWWsQQtT41Q9f8=;
 b=hoBewd/J2/dmSiw7muSuCRfgBSBNXAjjftbRFA2J9RjMeHbODyZlJkAqoeOJ60QUJ6
 zebfYm1tCJBTYzuiEMLofVhjXBNeoNcn5UaFVzxNtjgOZcjfod0oimMr4TktgALmKjei
 v+h1bYz/5AkHjWGmDPs/n9gxEP/bY2EK3f0oa9ALmFhwvKstvUH+cuAh/+NpOHWTmnDg
 EsL+DZiRf3XsrQUBSzOQVBu4kGZA4AF+hwN3XLyosGmASbil4gHZdxfdfKhF4JWm1OVB
 sNOcYjz8AzoI4E2c1izS7mvDimNNf/lWr+3EjQcINIs9zlMMa2TGgRYXpOXTgnXgPwA/
 Dh/g==
X-Gm-Message-State: APjAAAX6TQ0XMWD1SXozLrL356KW8UaMZ/CcQdAtS3D/pY6OdhF9gfZb
 TptvDXz59+PR2eDJSsH0S0XmUBuEOz5zZwEaEjo=
X-Google-Smtp-Source: APXvYqxYhYanZ8Un5Bs/Wkmo+kS1h/+YSBQtDI+/6LP45KVAr1lWFjEVq8l+0EJT7JChyDQuQWiZ4AQTUjYZsr38ZLQ=
X-Received: by 2002:a2e:9a11:: with SMTP id o17mr13063775lji.256.1576939412901; 
 Sat, 21 Dec 2019 06:43:32 -0800 (PST)
MIME-Version: 1.0
References: <CACCVLQXmYbzZiVjdr8x6dzRQ0nc+Yacs7fR3Kh9P5FRcmk=PUQ@HIDDEN>
 <CACCVLQW0A3ZrzKoRJq_EVxxc_hOhmXvwjxK2CvDdOeBQ2OvnBQ@HIDDEN>
 <83woaqysf2.fsf@HIDDEN>
In-Reply-To: <83woaqysf2.fsf@HIDDEN>
From: yyoncho <yyoncho@HIDDEN>
Date: Sat, 21 Dec 2019 16:43:21 +0200
Message-ID: <CACCVLQVcYLZ=LjbhzFd2bUceO8C7h5G_QM3dOdbgvzTz3HdjMg@HIDDEN>
Subject: Re: bug#38561: 27.0.50; Feature request: expose buffer size setting
 for process filters
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000089d5b5059a37d12f"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38561
Cc: 38561 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000089d5b5059a37d12f
Content-Type: text/plain; charset="UTF-8"

Hi Eli,

Thank you for taking care of this!

I can confirm that changing the new variable value is yielding the same
results.

I have a question on how am I supposed to use the new setting. Is it
possible to set it per process?

I tried

(with-current-buffer (process-buffer proc)
   (setq-local read-process-output-max (* 1024 1024)))

but it does not work. If it is not possible to use it per process then I
think that I have 2 options:

1. Document it in lsp-mode's readme
2. Override it with a setting in lsp-mode with a bigger value.

Both have clear advantages and disadvantages. Can you advise?

Thanks,
Ivan

On Sat, Dec 21, 2019 at 10:49 AM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: yyoncho <yyoncho@HIDDEN>
> > Date: Tue, 10 Dec 2019 19:25:17 +0200
> >
> > Adding some performance numbers from lsp-mode project.
> >
> > (with-current-buffer "DemoApplication.java"
> >   (benchmark-run 10 (lsp-request "workspace/symbol" (list :query "S"))))
> >
> > ;; Emacs from master
> > => (4.203047857 0 0.0)
> >
> > ;; tested with emacs compiled with 1mb buffer.
> > => (3.132925793 0 0.0)
>
> Your wish has been granted, see the new variable
> read-process-output-max.
>
> I'd appreciate testing this with your use cases.
>

--00000000000089d5b5059a37d12f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Eli,<div><br></div><div>Thank you for taking care of th=
is!</div><div><br></div><div>I can confirm that changing=C2=A0the new varia=
ble value is yielding the same results.</div><div><br></div><div>I have a q=
uestion=C2=A0on how am I supposed to use the new setting. Is it possible to=
 set it per process?</div><div><br></div><div>I tried=C2=A0</div><div><br><=
/div><div>(with-current-buffer (process-buffer proc)</div>=C2=A0 =C2=A0(set=
q-local read-process-output-max (* 1024 1024)))<div><br></div><div>but it d=
oes not work. If it is not possible to use it per process then I think that=
 I have 2 options:</div><div><br></div><div>1. Document it in lsp-mode&#39;=
s readme=C2=A0</div><div>2. Override it with a setting in lsp-mode with a b=
igger value.</div><div><br></div><div>Both have clear advantages and disadv=
antages. Can you advise?=C2=A0</div><div><br></div><div><div>Thanks,<br></d=
iv><div>Ivan</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"lt=
r" class=3D"gmail_attr">On Sat, Dec 21, 2019 at 10:49 AM Eli Zaretskii &lt;=
<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; From: yy=
oncho &lt;<a href=3D"mailto:yyoncho@HIDDEN" target=3D"_blank">yyoncho@gm=
ail.com</a>&gt;<br>
&gt; Date: Tue, 10 Dec 2019 19:25:17 +0200<br>
&gt; <br>
&gt; Adding some performance numbers from lsp-mode project.<br>
&gt; <br>
&gt; (with-current-buffer &quot;DemoApplication.java&quot;<br>
&gt;=C2=A0 =C2=A0(benchmark-run 10 (lsp-request &quot;workspace/symbol&quot=
; (list :query &quot;S&quot;))))<br>
&gt; <br>
&gt; ;; Emacs from master<br>
&gt; =3D&gt; (4.203047857 0 0.0)<br>
&gt; <br>
&gt; ;; tested with emacs compiled with 1mb buffer.<br>
&gt; =3D&gt; (3.132925793 0 0.0)<br>
<br>
Your wish has been granted, see the new variable<br>
read-process-output-max.<br>
<br>
I&#39;d appreciate testing this with your use cases.<br>
</blockquote></div>

--00000000000089d5b5059a37d12f--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38561; Package emacs. Full text available.

Message received at 38561 <at> debbugs.gnu.org:


Received: (at 38561) by debbugs.gnu.org; 21 Dec 2019 08:49:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 03:49:56 2019
Received: from localhost ([127.0.0.1]:47603 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iiaSS-0008Mg-KR
	for submit <at> debbugs.gnu.org; Sat, 21 Dec 2019 03:49:56 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56737)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iiaSQ-0008M2-Fe
 for 38561 <at> debbugs.gnu.org; Sat, 21 Dec 2019 03:49:55 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56001)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iiaSL-0003Qw-73; Sat, 21 Dec 2019 03:49:49 -0500
Received: from [176.228.60.248] (port=3061 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iiaSK-0004tC-KV; Sat, 21 Dec 2019 03:49:49 -0500
Date: Sat, 21 Dec 2019 10:49:37 +0200
Message-Id: <83woaqysf2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: yyoncho <yyoncho@HIDDEN>
In-reply-to: <CACCVLQW0A3ZrzKoRJq_EVxxc_hOhmXvwjxK2CvDdOeBQ2OvnBQ@HIDDEN>
 (message from yyoncho on Tue, 10 Dec 2019 19:25:17 +0200)
Subject: Re: bug#38561: 27.0.50;
 Feature request: expose buffer size setting for process filters
References: <CACCVLQXmYbzZiVjdr8x6dzRQ0nc+Yacs7fR3Kh9P5FRcmk=PUQ@HIDDEN>
 <CACCVLQW0A3ZrzKoRJq_EVxxc_hOhmXvwjxK2CvDdOeBQ2OvnBQ@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38561
Cc: 38561 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: yyoncho <yyoncho@HIDDEN>
> Date: Tue, 10 Dec 2019 19:25:17 +0200
> 
> Adding some performance numbers from lsp-mode project.
> 
> (with-current-buffer "DemoApplication.java"
>   (benchmark-run 10 (lsp-request "workspace/symbol" (list :query "S"))))
> 
> ;; Emacs from master
> => (4.203047857 0 0.0)
> 
> ;; tested with emacs compiled with 1mb buffer.
> => (3.132925793 0 0.0)

Your wish has been granted, see the new variable
read-process-output-max.

I'd appreciate testing this with your use cases.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38561; Package emacs. Full text available.

Message received at 38561 <at> debbugs.gnu.org:


Received: (at 38561) by debbugs.gnu.org; 10 Dec 2019 17:25:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 10 12:25:39 2019
Received: from localhost ([127.0.0.1]:56548 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iejGU-0001kM-P1
	for submit <at> debbugs.gnu.org; Tue, 10 Dec 2019 12:25:38 -0500
Received: from mail-lf1-f45.google.com ([209.85.167.45]:43859)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yyoncho@HIDDEN>) id 1iejGS-0001k8-9X
 for 38561 <at> debbugs.gnu.org; Tue, 10 Dec 2019 12:25:37 -0500
Received: by mail-lf1-f45.google.com with SMTP id 9so14360960lfq.10
 for <38561 <at> debbugs.gnu.org>; Tue, 10 Dec 2019 09:25:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=7wvanJ3ktHoGiSlCDLIIW8OpU5rSucaP5OnudgiCCRs=;
 b=tnuPQ3haHlPkk5fJvt4nsbpTUVV3iS9wYqr0n4mf978VJxwW6wKIDbraV4zQUIGWn4
 2qZq0CtwUAe1j2Yi3uql54qUVT4zCSY9I/gv/GsmsrdyT39+7Jsa0f7UEPZ5JC/YDE3C
 XwIS12e1XvwD+GRmQjQm2rPHH9jadouvc2pf4JSNeHNQ2J694O0qk0xqhP2a+eE/3uNt
 roihFn7GZdcQR7DTA66FNkXGvT8REKQMeUp2vvT3ssVICBJRdQrFBm4dpAFL6k+j/M1v
 jQV6MsbGT1A4uOTzZoJHPUNHiUek1PomFfT1KI/xjqK/cEWdRxiFl8102SHLx1WXM1k9
 TeuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=7wvanJ3ktHoGiSlCDLIIW8OpU5rSucaP5OnudgiCCRs=;
 b=IYnBfXH/gk23qIoqxJ5xMkGO5moTmmoFgGYamd4wRQRsWoqocszIR/QLKVGmWnTVrH
 V8y9Bn04dIjjPURSskZ+cWBkdKQjQd98QpaKgBUPLHH6CkIP5+S0/hMwaFzNG9Oi7DKA
 k5aXJOWSLMUoCB6B44K0l3z0FEb9JE2BLaRYXMd+8Ghq+eabha2VvAAMpujENo7djnap
 280PNM1qHtQx2oaPtzcqjTZRh1OMxow5icM5yCaOdJnXQHMocSXgkxFowEnX/zDaQuVU
 6+ZMtktGlAvasnQWWElAxpwg39UAhqO88PgkHWCVuDlPmRUFe5we5mGcgfsWllqNBMcL
 0aZQ==
X-Gm-Message-State: APjAAAUnVFKpv55kaiNQsC00cPTU1XovplNic35Zm4ADGjZKal478l87
 sUJ8sn3b7KkRbbydYpKkzOqY5lWPXFvXWfOK2nk5o+zo
X-Google-Smtp-Source: APXvYqzD26MgYChCvbdP2Dzs4bHHoRgaHT6IS8ufYxNPjdQ3MUAxmjBT+G5OgUKmPXvhfR4TTby/pPjlXMhaVxnWmuY=
X-Received: by 2002:a19:4849:: with SMTP id v70mr19494742lfa.30.1575998729300; 
 Tue, 10 Dec 2019 09:25:29 -0800 (PST)
MIME-Version: 1.0
From: yyoncho <yyoncho@HIDDEN>
Date: Tue, 10 Dec 2019 19:25:17 +0200
Message-ID: <CACCVLQW0A3ZrzKoRJq_EVxxc_hOhmXvwjxK2CvDdOeBQ2OvnBQ@HIDDEN>
Subject: 27.0.50;
 Feature request: expose buffer size setting for process filters
To: 38561 <at> debbugs.gnu.org
Content-Type: multipart/alternative; boundary="0000000000006d2f4005995ccc91"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38561
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000006d2f4005995ccc91
Content-Type: text/plain; charset="UTF-8"

Adding some performance numbers from lsp-mode project.

(with-current-buffer "DemoApplication.java"
  (benchmark-run 10 (lsp-request "workspace/symbol" (list :query "S"))))

;; Emacs from master
=> (4.203047857 0 0.0)

;; tested with emacs compiled with 1mb buffer.
=> (3.132925793 0 0.0)


Thanks,
Ivan

--0000000000006d2f4005995ccc91
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Adding some performance numbers from lsp-mode project=
.</div><div><br></div><div>(with-current-buffer &quot;DemoApplication.java&=
quot;<br></div><div>=C2=A0 (benchmark-run 10 (lsp-request &quot;workspace/s=
ymbol&quot; (list :query &quot;S&quot;))))<br><br>;; Emacs from master<br>=
=3D&gt; (4.203047857 0 0.0)</div><div><br></div><div>;; tested with emacs c=
ompiled with 1mb buffer.<br>=3D&gt; (3.132925793 0 0.0)<br></div><div><br><=
/div><div><br></div><div>Thanks,</div><div>Ivan</div></div>

--0000000000006d2f4005995ccc91--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38561; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Dec 2019 17:17:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 10 12:17:24 2019
Received: from localhost ([127.0.0.1]:56539 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iej8V-0001TH-RD
	for submit <at> debbugs.gnu.org; Tue, 10 Dec 2019 12:17:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:56148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yyoncho@HIDDEN>) id 1iej8U-0001TA-Oq
 for submit <at> debbugs.gnu.org; Tue, 10 Dec 2019 12:17:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38951)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <yyoncho@HIDDEN>) id 1iej8T-0005s0-NH
 for bug-gnu-emacs@HIDDEN; Tue, 10 Dec 2019 12:17:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <yyoncho@HIDDEN>) id 1iej8S-0000af-C3
 for bug-gnu-emacs@HIDDEN; Tue, 10 Dec 2019 12:17:21 -0500
Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:34219)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <yyoncho@HIDDEN>) id 1iej8S-0000aK-4l
 for bug-gnu-emacs@HIDDEN; Tue, 10 Dec 2019 12:17:20 -0500
Received: by mail-lj1-x22f.google.com with SMTP id m6so20818170ljc.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 10 Dec 2019 09:17:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=JdZEj1TW3N6dm/uKrQNCIsJUH0qairEIUEfAX2tnHSg=;
 b=Sg8WztyAAUQCI0lBTB5V6MqfEXaNdV4+WaOvrKF99cTqe0YifyJPFvgYTyfNITs4E9
 mt3a8T+nFOH7V32idpGXTe02OY42Z8L6R/z6PJPvHplUSNtVvma5kX+mG4b/8DCF15Od
 fRLgqyks2M5jJcvAxG1xhqanY2iuPrtDkmrS6du2TAaesDE1bQd+jAFw3Oj0fctoGoJq
 rvJxjdk6h/3xh8O4kDDlGkv3gxVcYLE83M9D4pMl2yYe4W3pJT8FHOo+n+ymZCjjBuOi
 3tf1BqsbZGtOlsQq4+a+OaIrJ89bslDh5MFg65bcavSNBTN9/zQGsR3cl78z341E2EcW
 mWVQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=JdZEj1TW3N6dm/uKrQNCIsJUH0qairEIUEfAX2tnHSg=;
 b=PsSFvT6ivJ6dEh9PGpjmf2nndEfDJ9JMFVZBT1EgOOoVE18i0Xi0P8xlU7nHG5MC2O
 ujPLCvW2fkarFYtC+B0rJjWuSguTZnk+V+EjKM4saFDv9d/0SwlZ7Sz7+Xf2cZa75dl7
 hGvpoti3lu+zrKS7mLhY58/CV+NkQ/qz9p0H1bky6UyFNDM7mgUJwcdoBR170CWjv5Wm
 GlRte+5iqFjufbLahOIJmmamNht0P41FjjRAgta45kr40iy4sbawL3YLFWnj/NXYt4K8
 ew1BMNoG+G9PP2pXteTHkbRiNY4gIO8eOhFHNp4FhWq6Nz0Wm+x0nNJzXDEj8rRBqVcO
 debQ==
X-Gm-Message-State: APjAAAUUp8zpVdhi0W/0WBWbp8oHdx+PZefPHi/GeP3ACx8f2tXHl8NC
 w0OTUjuY+IHvZxuv9hlf6nit9SO3MwanTd6KrbkbDP+2
X-Google-Smtp-Source: APXvYqw7/gdFvOml54WE97xu99vNnEqbmVyVv3M+TjRE3ZkJBqgXgmNpf3PBVy2g+Bv3cKFj/J35yb5NWBcgtSJNi5I=
X-Received: by 2002:a2e:b017:: with SMTP id y23mr21592505ljk.229.1575998238320; 
 Tue, 10 Dec 2019 09:17:18 -0800 (PST)
MIME-Version: 1.0
From: yyoncho <yyoncho@HIDDEN>
Date: Tue, 10 Dec 2019 19:17:07 +0200
Message-ID: <CACCVLQXmYbzZiVjdr8x6dzRQ0nc+Yacs7fR3Kh9P5FRcmk=PUQ@HIDDEN>
Subject: 27.0.50;
 Feature request: expose buffer size setting for process filters
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000296e6605995caf15"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::22f
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000296e6605995caf15
Content-Type: text/plain; charset="UTF-8"

In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.1)
 of 2019-12-10 built on kyoncho-H87-D3H
Repository revision: 8934762bb37273e6606097de92dcc2556456acd2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12001000
System Description: Linux Mint 19.1

ATM the buffer size is hardcoded to 4k. This will allow configuring
the buffer size based on application needs.

Thanks,
Ivan

--000000000000296e6605995caf15
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>In GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, G=
TK+ Version 3.24.1)<br>=C2=A0of 2019-12-10 built on kyoncho-H87-D3H<br>Repo=
sitory revision: 8934762bb37273e6606097de92dcc2556456acd2<br>Repository bra=
nch: master<br>Windowing system distributor &#39;The X.Org Foundation&#39;,=
 version 11.0.12001000<br>System Description: Linux Mint 19.1<br><br>ATM th=
e buffer size is hardcoded to 4k. This will allow configuring<br>the buffer=
 size based on application needs.<br><br>Thanks,<br>Ivan<br></div></div>

--000000000000296e6605995caf15--




Acknowledgement sent to yyoncho <yyoncho@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38561; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 21 Dec 2019 18:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.