This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin speed


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]