delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/02/22:14:13

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sat, 2 Sep 2000 22:12:59 -0400
To: cygwin AT sources DOT redhat DOT com
Subject: Re: printf is faster when piped through tee
Message-ID: <20000902221259.A13854@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <OE45q6DqaJY4kJSFsxf00000768 AT hotmail DOT com> <000301c0151b$6f3023a0$f536ba8c AT nhv>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <000301c0151b$6f3023a0$f536ba8c@nhv>; from nhv@cape.com on Sat, Sep 02, 2000 at 04:21:45PM -0400

On Sat, Sep 02, 2000 at 04:21:45PM -0400, Norman Vine wrote:
>Jonas Jensen writes:
>>
>>> >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.
>>>
>>
>>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...
>>
>
>Hint -
>you might want to perform your test using this terminal or something similar
>http://www.io.com/~bub/rxvt.html
>instead of the console device.

No.  This would use a completely different mechanism than console I/O.  It
would exercise cygwin ptys.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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