I'm sure the developers are open to hearing your ideas for optimization and performance improvements.
Thanks, ------------------------------------------ Ali Mesdaq (CISSP, GIAC-GREM) Sr. Security Researcher Websense Security Labs http://www.WebsenseSecurityLabs.com ------------------------------------------ -----Original Message----- From: Oleg Pronin [mailto:[email protected]] Sent: Wednesday, April 21, 2010 9:30 AM To: The elegant MVC web framework Subject: [Catalyst] Alternatives to Catalyst ? This was the last shot for me at "dealing" with catalyst. Catalyst is very perfomance-optimized system and it never stops me wondering timethese(-1, { sep => sub { $req->param('lang') }, all => sub { $req->params->{lang} }, par => sub { $req->parameters->{lang} }, low => sub { $req->{parameters}{lang} }, }); Benchmark: running all, low, par, sep for at least 1 CPU seconds... all: 1 wallclock secs ( 1.06 usr + 0.00 sys = 1.06 CPU) @ 74016.94/s (n=78643) low: 1 wallclock secs ( 1.09 usr + 0.00 sys = 1.09 CPU) @ 3816940.66/s (n=4144959) par: 2 wallclock secs ( 1.12 usr + 0.00 sys = 1.12 CPU) @ 75281.78/s (n=84692) sep: 1 wallclock secs ( 1.02 usr + 0.00 sys = 1.02 CPU) @ 24448.98/s (n=25022) 1) Getting all params 3x faster than only one 2) Getting $req->{parameters}{lang} 150x faster than $req->param('lang') Guys, is Catalyst a senior system ? I think that creator of Moose, and some similar shit is in cooperation with hardware manufactorers :-) The more CPU spent - the more hardware bought. _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/ Protected by Websense Hosted Email Security -- www.websense.com _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
