From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: w32-pipe-read-delay (was: vc-dir operation is very slow on large git repositories in Emacs 26.1) Date: Sat, 23 Jun 2018 16:40:28 +0300 Message-ID: <83y3f5tycz.fsf@gnu.org> References: <83k1qtsbgi.fsf@gnu.org> <83zhzoqkgv.fsf@gnu.org> <83efgzqjv5.fsf@gnu.org> <83wouqptm6.fsf@gnu.org> <83k1qqufwq.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529761131 22969 195.159.176.226 (23 Jun 2018 13:38:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2018 13:38:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alex Harsanyi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 23 15:38:47 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fWikV-0005ro-N9 for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 15:38:43 +0200 Original-Received: from localhost ([::1]:38563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWimc-00007P-ES for ged-emacs-devel@m.gmane.org; Sat, 23 Jun 2018 09:40:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWim4-00005A-84 for emacs-devel@gnu.org; Sat, 23 Jun 2018 09:40:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWim0-0000C7-T2 for emacs-devel@gnu.org; Sat, 23 Jun 2018 09:40:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWim0-0000C1-PA; Sat, 23 Jun 2018 09:40:16 -0400 Original-Received: from [176.228.60.248] (port=4030 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fWim0-00025f-8e; Sat, 23 Jun 2018 09:40:16 -0400 In-reply-to: (message from Alex Harsanyi on Sat, 23 Jun 2018 21:32:24 +0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:226627 Archived-At: > From: Alex Harsanyi > Date: Sat, 23 Jun 2018 21:32:24 +0800 > > Oops, above I meant to say 0.08, not 0.8, here some sequential runs with > `w32-pipe-read-delay` set to 0 and `w32-pipe-buffer-size` set to 0: > > time-process: it took 0.08 seconds > time-process: it took 0.14 seconds > time-process: it took 0.09 seconds > time-process: it took 0.14 seconds [2 times] > time-process: it took 0.14 seconds > time-process: it took 0.09 seconds > time-process: it took 0.14 seconds > time-process: it took 0.11 seconds > time-process: it took 0.13 seconds > time-process: it took 0.09 seconds > time-process: it took 0.14 seconds > time-process: it took 0.09 seconds I'm confused: w32-pipe-buffer-size is zero by default, so what can we learn about it from the above experiment?