[Catalyst] Speed issue ?
Andrew Ford
A.Ford at ford-mason.co.uk
Fri Sep 2 17:33:24 CEST 2005
Bernard FRIT wrote:
>I just set up a CRUD application customizing Hops code (thanks to
>Simon Ilyushchenko) and I did a few tests using Catalyst server, CGI
>engine, SpeedyCGI engine.
>
>Catalyst internal server is pretty fast :
>[Fri Sep 2 16:51:25 2005] [catalyst] [debug] Debug messages enabled
>../..
>[Fri Sep 2 16:52:02 2005] [catalyst] [debug] Rendering template "list"
>[Fri Sep 2 16:52:02 2005] [catalyst] [info] Request took 0.321370s (3.112/s)
>
>CGI engine is slow
>[Fri Sep 2 16:49:07 2005] [catalyst] [debug] Debug messages enabled
>../..
>[Fri Sep 2 16:49:08 2005] [catalyst] [debug] Loaded engine
>"Catalyst::Engine::CGI"
>../..
>[Fri Sep 2 16:49:09 2005] [catalyst] [debug] Rendering template "list"
>[Fri Sep 2 16:49:11 2005] [catalyst] [info] Request took 1.385069s (0.722/s)
>
>SpeedyCGI engine is only a little bit faster
>
>[Fri Sep 2 16:42:59 2005] [catalyst] [debug] Debug messages enabled
>../..
>[Fri Sep 2 16:43:00 2005] [catalyst] [debug] Loaded engine
>"Catalyst::Engine::SpeedyCGI"
>../..
>[Fri Sep 2 16:43:01 2005] [catalyst] [debug] Rendering template "list"
>[Fri Sep 2 16:43:02 2005] [catalyst] [info] Request took 1.115629s (0.896/s)
>
>All this is running on a test server without any load.
>
>Are such differences normal or is there something wrong in the config ?
>
>
>
What is the speed on the second request for the SpeedyCGI engine?
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.
Andrew
--
Andrew Ford, Director Pauntley Prints / Ford & Mason Ltd
A.Ford at ford-mason.co.uk South Wing Compton House
pauntley-prints.co.uk Compton Green, Redmarley Tel: +44 1531 829900
ford-mason.co.uk Gloucester GL19 3JB Fax: +44 1531 829901
refcards.com cronolog.org Great Britain Mobile: +44 7785 258278
More information about the Catalyst
mailing list