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: Tree-sitter integration on feature/tree-sitter Date: Thu, 12 May 2022 08:19:22 +0300 Message-ID: <837d6rqqed.fsf@gnu.org> References: <87y1zabmbt.fsf@gmail.com> <5F186EBD-CD21-422B-8B4F-0D5424173334@gmail.com> <875ymdwf76.fsf@gmail.com> <011DA1A3-0FA8-4449-878A-FD6B336B0F1B@gmail.com> <8735hhw75p.fsf@gmail.com> <83czgks4ss.fsf@gnu.org> <87wnesuw63.fsf@gmail.com> <83pmkkqhft.fsf@gnu.org> <87tu9wukbt.fsf@gmail.com> <83ee10qbk7.fsf@gnu.org> <8F6A43D1-D1EA-4602-A245-627DB7960FC2@gmail.com> <054C830D-64FE-4347-85EF-054BF305DB49@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39626"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yoavm448@gmail.com, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 12 07:19:58 2022 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 1np1Ey-000A74-Uc for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 07:19:57 +0200 Original-Received: from localhost ([::1]:42398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1np1Ex-0000ib-HN for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 01:19:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np1EN-0008M8-Gn for emacs-devel@gnu.org; Thu, 12 May 2022 01:19:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57094) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np1EN-0002y6-7p; Thu, 12 May 2022 01:19:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=e7DQkfsicF+qmBk0263CAgVYstk4yeA6lyi+aUS0yNw=; b=OxhpRcLf45oe huvXZvLJJUk6KjGTsm+LxHBLCRsi2BwPSK7zgsF0DdSJWKDiMQzaofaIr/qzNsUdlG/rS6X1FryL0 ma0FLBmvUMdukc973htFFo22WCw0+GdNLQ4WObqKbiN4nKH9ymqM+KkEBs3EEYviVRMhH5Oj92x9T d8T7CmK5pdbYQvK5lXlhpKZaUIgB4+vltggkT5SWEwJLF8yFQaOhQqxyNLfvnNqF4ICbzsf1Uc87h dwO58omZdoMjoOrDAFPCAHab40960f12fmYD6qa+kWLvppTIaEI4G7R3h1LGeQ0ZFC6U4dkJdjGil IdcRmjkyZuAIEh2/iHEwpw==; Original-Received: from [87.69.77.57] (port=4033 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1np1EM-0006F6-TV; Thu, 12 May 2022 01:19:19 -0400 In-Reply-To: <054C830D-64FE-4347-85EF-054BF305DB49@gmail.com> (message from Yuan Fu on Wed, 11 May 2022 13:25:22 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:289662 Archived-At: > From: Yuan Fu > Date: Wed, 11 May 2022 13:25:22 -0700 > Cc: Yoav Marco , > emacs-devel@gnu.org > > font-lock: 88.28s -> 0.1997285067873303 / loop > ^^^^^^^^^^^^^^^^^^ > should be 0.09754696132596685 Still an order of magnitude speedup: from 100 msec to 16 msec. Btw, how about adding this and other benchmarks to the test suite? We may wish to use them later, to measure potential speedups or slowdowns. Thanks.