From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#31138: Native json slower than json.el Date: Tue, 23 Apr 2019 16:44:02 +0100 Message-ID: References: <87sh806xwa.fsf@chapu.is> <5cf45a21-65c3-67ee-f123-be83a6ee7c99@yandex.ru> <83a7gjaen6.fsf@gnu.org> <83ftqa8qsg.fsf@gnu.org> <83muki6y6r.fsf@gnu.org> <4b8c6799-e845-768b-749c-f2a883ab89f8@yandex.ru> <83h8aq6v6a.fsf@gnu.org> <834l6q6ozn.fsf@gnu.org> <83zhoi59ao.fsf@gnu.org> <83wojm57sl.fsf@gnu.org> <83ftq96azk.fsf@gnu.org> <83wojk534g.fsf@gnu.org> <83ftq84vcc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155362"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: 31138@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 23 17:49:28 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hIxfj-000eJB-Fn for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 17:49:27 +0200 Original-Received: from localhost ([127.0.0.1]:55702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxfi-0000Vj-FG for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Apr 2019 11:49:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxcS-0007F1-C6 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxcR-0002Gr-7C for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIxcR-0002Gi-0J for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIxcP-0002VZ-Jg for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:46:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87sh806xwa.fsf@chapu.is> Resent-From: Andy Moreton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Apr 2019 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31138 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15560343139576 (code B ref -1); Tue, 23 Apr 2019 15:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2019 15:45:13 +0000 Original-Received: from localhost ([127.0.0.1]:54141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxbd-0002UO-Bu for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:45:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hIxbb-0002U6-1l for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:45:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIxbV-0001aH-TC for submit@debbugs.gnu.org; Tue, 23 Apr 2019 11:45:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIxbU-0006Af-V8 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:45:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIxbU-0001ZJ-1q for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:45:04 -0400 Original-Received: from [195.159.176.226] (port=36428 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIxbT-0001Z7-R5 for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 11:45:03 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hIxbS-000Ytl-Hj for bug-gnu-emacs@gnu.org; Tue, 23 Apr 2019 17:45:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:1Hr4mu3/WJqh6/dct4iRqeJNgIo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158149 Archived-At: On Tue 23 Apr 2019, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Tue, 23 Apr 2019 15:50:57 +0100 >> >> > What applications do we have where en/decoding strings has critical >> > effect on performance? >> >> One possible candidate is the LSP packages from ELPA/MELPA (eglot, >> lsp-mode, etc) which use JSON-RPC to communicate with the external >> language servers. Their interactive performance may be sensitive to JSON >> overheads. >> >> I don't yet use these tools, so perhaps someone who does can indicate if >> faster JSON handling is important for these tools. > > JSON performance already got sped up: that's what this bug report and > the associated commits were all about. I was asking which other > applications that do NOT use JSON might have string conversion a > bottleneck. Ah - my bad. > Or did I misunderstand what you were saying? No, I did not read enough context. AndyM