delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
X-Originating-IP: | [212.54.81.249] |
From: | "Jonas Jensen" <bones0_list AT hotmail DOT com> |
To: | "Cygwin List" <cygwin AT sources DOT redhat DOT com> |
References: | <OE9jWwY0VnkB4ltFlmm000000a8 AT hotmail DOT com> <20000902123113 DOT A1626 AT cygnus DOT com> |
Subject: | Re: printf is faster when piped through tee |
Date: | Sat, 2 Sep 2000 20:59:23 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Message-ID: | <OE45q6DqaJY4kJSFsxf00000768@hotmail.com> |
X-OriginalArrivalTime: | 02 Sep 2000 18:59:05.0071 (UTC) FILETIME=[DD7837F0:01C0150F] |
Chris Faylor wrote: > On Sat, Sep 02, 2000 at 04:11:08PM +0200, Jonas Jensen wrote: > >Something's wrong with the performance of printf. When compiling with > >gcc, printf executes much slower than with Microsoft's "cl". The funny > >thing is that when I pipe those programs through "tee", they're both > >(equally) fast. > > Thanks for the first part of your report. I'm awaiting your analysis of > why this is the case. I have no idea! AFAICS, tee and cat (which work properly) use write() for outputting, but this function has the same problem when I call it. -mno-cygwin makes that problem go away. Did you do this on purpose or something? It seems a bit weird that a write takes _excactly_ 1/100th of a second, both on my GeForce-powered desktop comp. and my weak laptop... -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |