Reply-To: 
Name:           Jim Freeze
Phone:          (859) 396-5439
Web-Pages:      http://www.freeze.org http://www.freebsdportal.com

I have been playing with webrick and fastcgi. I used ab
to measure the performance and see if fastcgi was helping out.
My results are:

test.cgi - webrick & fastcgi
 Concurrency Level:      1
 Time taken for tests:   44.546 seconds
 Complete requests:      100
 Requests per second:    2.24 [#/sec] (mean)
 Time per request:       445.46 [ms] (mean)
 
test.rthml - webrick & fastcgi
 Concurrency Level:      1
 Time taken for tests:   10.200 seconds
 Complete requests:      100
 Requests per second:    9.80 [#/sec] (mean)
 Time per request:       102.00 [ms] (mean)
 
test.cgi - webrick w/o fastcgi
 oncurrency Level:      1
 Time taken for tests:   43.583 seconds
 Complete requests:      100
 Requests per second:    2.29 [#/sec] (mean)
 Time per request:       435.83 [ms] (mean)
 
test.rhtml - webrick w/o fastcgi
 Concurrency Level:      1
 Time taken for tests:   10.221 seconds
 Complete requests:      100
 Requests per second:    9.78 [#/sec] (mean)
 Time per request:       102.21 [ms] (mean)

I used the standard HTTPServer and only changed between
the following require lines to use webrick with and without
the server

require 'webrick'         # w/o fastcgi
#require 'webrick/fcgi'a  # w/  fastcgi

Am I using fcgi correctly or is it just not having an affect 
for these samples?

Thanks
-- 
Jim Freeze