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: Tue, 25 Feb 2020 09:29:41 +0200 Message-ID: <83sgizgm56.fsf@gnu.org> References: <838smzq9iz.fsf@gnu.org> <8336d6rfgy.fsf@gnu.org> <83woagonl9.fsf@gnu.org> <83sgl4ojci.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="33891"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, akrl@sdf.org To: yyoncho Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 25 08:31:01 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 1j6UgH-0008eC-Hp for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Feb 2020 08:31:01 +0100 Original-Received: from localhost ([::1]:49886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6UgG-0005K2-KC for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Feb 2020 02:31:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6Uf1-0004Mm-Dh for emacs-devel@gnu.org; Tue, 25 Feb 2020 02:29:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j6Uf0-0006o3-RM; Tue, 25 Feb 2020 02:29:42 -0500 Original-Received: from [176.228.60.248] (port=3823 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j6Uez-0006KS-3l; Tue, 25 Feb 2020 02:29:42 -0500 In-reply-to: (message from yyoncho on Tue, 25 Feb 2020 08:14:02 +0200) 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:245060 Archived-At: > From: yyoncho > Date: Tue, 25 Feb 2020 08:14:02 +0200 > Cc: Eli Zaretskii , Stefan Monnier , > emacs-devel > > I did benchmarks of json parsing here it is what I get: > > | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | > |--------------+----------------+------------+---------+-------------+-----------------| > | json-parsing | 2.57 | 3.32 | 318 | 5.89 | 0.10 | > |--------------+----------------+------------+---------+-------------+-----------------| > | total | 2.57 | 3.32 | 318 | 5.89 | 0.10 | > > Native: > > | test | non-gc avg (s) | gc avg (s) | gcs avg | tot avg (s) | tot avg err (s) | > |--------------+----------------+------------+---------+-------------+-----------------| > | json-parsing | 1.71 | 4.31 | 343 | 6.02 | 0.01 | > |--------------+----------------+------------+---------+-------------+-----------------| > | total | 1.71 | 4.31 | 343 | 6.02 | 0.01 | > > It looks like this is bellow the average speedup you might wanna take a look: 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.