Subject: I hope the codes can compiled under MingWDate: Wed, 18 Feb 2009 00:06:15 +0800 Cause MingW will compile the codes to native banary,I hope some day I can get this kind of code.I think it's better than the one compiled under Cygwin.
on 2009-02-17 17:36
on 2009-02-17 18:56
On Wed, Feb 18, 2009 at 12:16:47AM +0800, ?????? wrote: > Cause MingW will compile the codes to native banary,I hope some day I can get this kind of code.I think it's better than the one compiled under Cygwin. I have non-public and unready for production Win32 sources, they are built by MSVC 6/7/8, Borland C 5.5, and OpenWatcom. Now I use this for warning testing only, so I did not create a build procedure for MinGW as various gcc versions are available on Unix.
on 2009-02-18 03:07
> Date: Tue, 17 Feb 2009 19:32:54 +0300> From: email@example.com> To: firstname.lastname@example.org> Subject: Re: I hope the codes can compiled under MingW> > On Wed, Feb 18, 2009 at 12:16:47AM +0800, ?????? wrote:> > > Cause MingW will compile the codes to native binary,I hope some day I can get this kind of codes.I think it's better than the one compiled under Cygwin.> > I have non-public and unready for production Win32 sources,> they are built by MSVC 6/7/8, Borland C 5.5, and OpenWatcom.> Now I use this for warning testing only, so I did not create> a build procedure for MinGW as various gcc versions are available on Unix.> > > -- > Igor Sysoev> http://sysoev.ru/en/> That's sound like good! But I feel that MinGW/gcc may make something different than MSVC/Borland C and others. I think supporting and maintaining the codes for MinGW/gcc is more easier than for MSVC/Borland C and others. I'd tried to compile nginx under MinGW and found that I had to change so much codes to fit MinGW's lack of included headers. I think it's easy to fixed on you side. I think that binaries compiled by MinGW/gcc is pretty similar with MSVC/Borland C and others compiled, because they all are Windows native binaries. As you see, now many opensource projects are planned to support compiling under MinGW/gcc but not MSVC/Borland C and others.
on 2009-02-19 07:29
I just take some time to do it for fun. ================================================ Server Side: A notebook, Celeron CPU 1.06GHz, SD-RAM 256Mb, Windows XP SP2, Nginx 0.7.35 under Cygwin 1.7.0 compiled by gcc 4.4 In nginx.conf: worker_processes 5; worker_connections 40000; Client Side: PC, Celeron CPU 2.40GHz, DDR-RAM 1Gb, Windows 2003 SP2, ApacheBench 2.0.41-dev. Internat: 10Mbps bandwith to connect each other. ================================================ C:\>ab.exe -c 64 -n 1000 http://192.168.8.3/lc365_index.html This is ApacheBench, Version 2.0.41-dev <$Revision: 188.8.131.52 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking 192.168.8.3 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Finished 1000 requests Server Software: nginx/0.7.35 Server Hostname: 192.168.8.3 Server Port: 80 Document Path: /lc365_index.html Document Length: 112492 bytes Concurrency Level: 64 Time taken for tests: 188.78125 seconds Complete requests: 1000 Failed requests: 0 Write errors: 0 Total transferred: 112729000 bytes HTML transferred: 112492000 bytes Requests per second: 5.32 [#/sec] (mean) Time per request: 12037.000 [ms] (mean) Time per request: 188.078 [ms] (mean, across all concurrent requests) Transfer rate: 585.32 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 101 329.2 46 3015 Processing: 3188 11771 3441.3 11453 62187 Waiting: 328 1268 911.0 1046 10765 Total: 3453 11872 3444.2 11531 62312 Percentage of the requests served within a certain time (ms) 50% 11531 66% 12265 75% 13234 80% 13734 90% 15953 95% 16640 98% 18937 99% 21312 100% 62312 (longest request)
on 2009-02-19 08:46
Sorry for my subject, not under MingW/GCC4.4 but under Cygwin/GCC4.4