From: Sascha Ebach Date: 2006-01-21T02:14:51+09:00 Subject: Re: [ANN] Mongrel 0.1.1 -- A Fast Ruby Web Server (It Works Now, Maybe) this is my output under Cygwin now: $ ruby -v ruby 1.8.3 (2005-09-21) [i386-cygwin] $ rake (in /cygdrive/h/Download/Browser/mongrel-0.1.1) /usr/bin/ruby extconf.rb checking for main() in -lc... yes creating Makefile make gcc -g -O2 -I. -I/usr/lib/ruby/1.8/i386-cygwin -I/usr/lib/ruby/1.8/i386-cygwin -I. -c http11.c gcc -g -O2 -I. -I/usr/lib/ruby/1.8/i386-cygwin -I/usr/lib/ruby/1.8/i386-cygwin -I. -c http11_parser.c gcc -shared -s -Wl,--enable-auto-import,--export-all -L"/usr/lib" -o http11.so http11.o http11_parser.o -lruby -lc -lcrypt cp ext/http11/http11.so lib /usr/bin/ruby -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb" "test/test_http11.rb" "test/test_trie.rb" "te st/test_ws.rb" Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader Started Error result after 6 bytes of 15 .Read 18 string was 18 ...Hitting server . Finished in 2.048 seconds. 5 tests, 10 assertions, 0 failures, 0 errors $ ruby -Ilib examples/simpletest.rb & [1] 4692 $ curl http://localhost:3000/test hello! $ ./ab.exe -S -n 3000 http://localhost:3000/test Concurrency Level: 1 Time taken for tests: 5.656250 seconds Complete requests: 3000 Failed requests: 0 Write errors: 0 Total transferred: 156000 bytes HTML transferred: 21000 bytes Requests per second: 530.39 [#/sec] (mean) Time per request: 1.885 [ms] (mean) Time per request: 1.885 [ms] (mean, across all concurrent requests) Transfer rate: 26.87 [Kbytes/sec] received WOW, that is really something for Cygwin (Ruby/Cygwin is _really_ slow). It would be nice if there were at least a WEBrick benchmark included, so one could make a direct comparison. If you could get Mongrel to be at least half as fast as lighttpd that would be really something. Than it would be an alternative for production. -Sascha