From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: On elisp running native Date: Fri, 28 Feb 2020 06:34:19 +0200 Message-ID: <83pndzgwj8.fsf@gnu.org> References: <838smzq9iz.fsf@gnu.org> <8336d6rfgy.fsf@gnu.org> <83woagonl9.fsf@gnu.org> <83sgl4ojci.fsf@gnu.org> <83sgizgm56.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="100880"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, yyoncho@gmail.com, monnier@iro.umontreal.ca To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 28 05:35:10 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 1j7XMk-000Q8S-Eq for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Feb 2020 05:35:10 +0100 Original-Received: from localhost ([::1]:41630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7XMj-0005Wf-HA for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Feb 2020 23:35:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43851) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7XMB-00053y-Sv for emacs-devel@gnu.org; Thu, 27 Feb 2020 23:34:36 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j7XMB-0006Am-CW; Thu, 27 Feb 2020 23:34:35 -0500 Original-Received: from [176.228.60.248] (port=4833 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j7XMA-0003t0-GR; Thu, 27 Feb 2020 23:34:35 -0500 In-reply-to: (message from Andrea Corallo on Tue, 25 Feb 2020 12:59:56 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:245093 Archived-At: > From: Andrea Corallo > Cc: yyoncho , monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Tue, 25 Feb 2020 12:59:56 +0000 > > > I think this might be expected, since most of the heavy processing in > > this benchmark is in C, and thus not affected by the compiling Lisp > > into native machine code. > > Yeah, the interesting part would be the GC one. I'm wondering if that's > just a noise artifact or not. I'm not sure I understand what is interesting about it. JSON parsing is implemented in C, but it creates Lisp objects (a lot of them), and thus GC during that processing should not be unexpected. Of course, if you want to make sure the GC in this case indeed only reclaims Lisp objects produced by JSON parsing, and is not related to the native code itself, that's a good thing to check.