[Catalyst] Speed issue ?

Bernard FRIT bernard.frit at gmail.com
Fri Sep 2 18:07:02 CEST 2005


2005/9/2, Andrew Ford <A.Ford at ford-mason.co.uk>:
> What is the speed on the second request for the SpeedyCGI engine?

SpeedyCGI (same requests)
1. 
[Fri Sep  2 17:57:56 2005] [catalyst] [info] Request took 1.578377s (0.634/s)
2.
[Fri Sep  2 18:00:34 2005] [catalyst] [info] Request took 1.430226s (0.699/s)
3.
[Fri Sep  2 18:01:40 2005] [catalyst] [info] Request took 1.166644s (0.857/s)

FastCGI  (same requests)
1.
[Fri Sep  2 17:52:25 2005] [catalyst] [info] Request took 1.656971s (0.604/s)
2.
[Fri Sep  2 17:53:16 2005] [catalyst] [info] Request took 1.211765s (0.825/s)

> Speedy should be about the same speed as CGI for the first request, but
> on the the second and subsequent requests (for each Speedy process) it
> should be faster as it will not need to re-load any modules used or
> re-initialize the application.

It sounds we could not expect to gain a lot. The "subjective" time in
front of the browser window is much more important as I guess catalyst
doesn't log tt2 template generation time.

--
Bernard FRIT



More information about the Catalyst mailing list