From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 55ec674: * lisp/multifile.el: New file, extracted from etags.el Date: Thu, 10 Jan 2019 23:41:36 +0200 Organization: LINKOV.NET Message-ID: <87imyw9ssn.fsf@mail.linkov.net> References: <20180922154639.23195.66360@vcs0.savannah.gnu.org> <20180922154640.9D58220310@vcs0.savannah.gnu.org> <54108dbc-9d12-06ff-3f1d-151118e9b234@yandex.ru> <385f6543-2214-101c-30b8-a8115a8dbede@yandex.ru> <87zhsi7mlt.fsf@mail.linkov.net> <6ff6f811-29eb-6e08-e95c-46bdfee08993@yandex.ru> <878t02d0cz.fsf@mail.linkov.net> <875zv579pu.fsf@mail.linkov.net> <4beac027-166a-ce0e-9976-ad4a6cd40fd1@yandex.ru> <875zuxxw14.fsf@mail.linkov.net> <0c14b698-54e8-840e-4f98-0a187123bb3f@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547157774 23496 195.159.176.226 (10 Jan 2019 22:02:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2019 22:02:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Michael Albinus , Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 23:02:49 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghiPZ-0005z2-3x for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2019 23:02:49 +0100 Original-Received: from localhost ([127.0.0.1]:50364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghiRg-0007lf-4p for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2019 17:05:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghiQz-0006zb-W9 for emacs-devel@gnu.org; Thu, 10 Jan 2019 17:04:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghiNP-0003ft-Pg for emacs-devel@gnu.org; Thu, 10 Jan 2019 17:00:36 -0500 Original-Received: from bee.dogwood.relay.mailchannels.net ([23.83.211.14]:17271) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghiNN-0003VE-VJ for emacs-devel@gnu.org; Thu, 10 Jan 2019 17:00:35 -0500 Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B171E124CED; Thu, 10 Jan 2019 22:00:22 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (unknown [100.96.33.121]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 7ED66124D5D; Thu, 10 Jan 2019 22:00:07 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 10 Jan 2019 22:00:22 +0000 Original-Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id B83E0803BD; Thu, 10 Jan 2019 14:00:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=8V2L4VqQLUcVWIZ5JSz+1mQs2/k=; b= ZMxoqP4DOtGdeOJwcki3K/kwOvHVxa/UCzIXaYlE7dqOUD87aOswmi16uHGAsRtE sp5oz4KNTp3O3+qi7FDF09L4enqXjKw24RpckSchmuRsI3RVICqXQno2YdTOjV8i ZN/EbfM/2KIPjjAhh152yfJn81x62LEnDpm7KIhC2x4= Original-Received: from mail.jurta.org (m91-129-101-91.cust.tele2.ee [91.129.101.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTPSA id A5B1D803B8; Thu, 10 Jan 2019 13:59:48 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a54 In-Reply-To: <0c14b698-54e8-840e-4f98-0a187123bb3f@yandex.ru> (Dmitry Gutov's message of "Thu, 10 Jan 2019 13:20:05 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledrfeefgdduheejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutddurdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutddurdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruhenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.211.14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232294 Archived-At: >> This version is better: 14s instead of previous 17s. > > That's good, I guess. But not good enough. > > Let's step back. Why is project-files so slow on your machine? In > particular, why is it noticeably slower than project-find-regexp? Because I supposed that project-find-regexp should operate on the project's root directory, as project-files-pipe-grep and project-files do, and ran (benchmark 10 '(project-find-regexp "xyz1")) in the 'lisp' subdirectory. I remember seeing different times between running in the 'lisp' subdirectory and running in the root directory. But now can't reproduce this test case, and see the same times for project-find-regexp and project-files-pipe-grep regardless of running in the 'lisp' subdirectory or in the root directory. So it seems you already did everything possible for optimization, thank you.