Cygwin speed

Vinod Gupta vinod@Princeton.EDU
Fri Mar 2 18:42:00 GMT 2007


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/



More information about the Cygwin mailing list