delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/21/11:02:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=Hnu5DbFyy9kxae75+6uMyb/SkRSF6mNsL9y/F1yU2/cdD9C8GS5FP
GTOw0zYhkd3wUdzKawezOaem18eZoVmO12W0H0Kj4pdGpXTz31gmgtZdIVfAbY7N
3dPPiv3xLZ//wEfND2KMEV2oKZ/O6E1OwsZRTlNN1u4oXQPWcm+Now=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=znRIUmRxxyUmfP5w/TKUHzMmXHY=; b=DSChcH183yfzkzW3k/mbp1QzORpu
ORg5OuL1zlmIQZ+CnsZUoIC85ImGfoijgpaEot6dV238CcewjUVQjaUPWKSKGQ+M
8oLMNG8l95qyWEySEs19sSSSI5asxeJDi2QET++Xh8Nnh+YdZb7IzPPh9aKEYy/m
9iflHIei3LmTuSg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_00,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:387, letting, H*MI:sk:CAH5rLZ, H*f:sk:CAH5rLZ
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: Performance of "ls -F"
Date: Thu, 21 Jan 2016 16:01:28 +0000 (UTC)
Lines: 14
Message-ID: <loom.20160121T170042-924@post.gmane.org>
References: <loom DOT 20160121T163405-489 AT post DOT gmane DOT org> <CAH5rLZVWiGz2n-3Ru-C0_5KU-Cc4NipJPn1NQVphN2UetUK4iA AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

William M. (Mike) Miller <william.m.miller <at> gmail.com> writes:
> The overhead appears to be in checking for executable files; using
> --file-type instead of -F, which just omits the '*' category, reduces
> the time for ls in one of my (local) large directories from over one
> second to 0.04 seconds.

Indeed.  Thanks for letting me know!


Regards,
Achim.





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019