From: David Garamond Date: 2004-06-21T16:03:56+09:00 Subject: Re: rubys web performance Florian Weber wrote: > i just tried something: > > #!/usr/local/bin/ruby > > start = Time.now > require 'yaml' > require 'logger' > t = Time.now - start > > print "Content-type: text/html\r\n\r\n" > print "%.3f sec.\n" % t.to_f > > > this alone takes already at least 0.13 seconds (via cgi) > > when i run it just via the shell it takes 0.09 seconds, which i think > is already quite a lot... no? try php cgi with several php extensions pre-loaded in php.ini, it can take up to 0.30-0.40 second on my machine (the overhead is mainly in opening *.so files). -- dave