[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin
Subject:    Cygwin speed
From:       Vinod Gupta <vinod () Princeton ! EDU>
Date:       2007-03-02 18:42:05
Message-ID: 45E86FFD.7060301 () princeton ! edu
[Download RAW message or body]

I ran the following loop under bash on three different machines:

i=1000000
while [ $i -gt 0 ]; do
  j=$(((i/3+i*3)**3))
  i=$((i-1))
done

Here is how long it took:

CPU               OS            Time (secs)
---------------   ------------  ----------
P4/3.2GHz         Linux RHEL4      41
Core Duo/2.2GHz   Mac OSX 10.4     43
Core Duo/2.4GHz   WinXP+Cygwin    107

Cygwin was a slow by a factor of 3x. Is that normal?

Vinod


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic