[Catalyst] Re: OT: Use the CPAN, Luke?

Tomas Doran bobtfish at bobtfish.net
Fri Nov 28 15:17:57 GMT 2008


On 28 Nov 2008, at 01:31, Johan Lindström wrote:

> At 06:58 2008-11-27, Aristotle Pagaltzis wrote:
>> > According to the Mouse docs, Mouse supports the most commonly
>> > used  features of Moose, but runs in 25% of the time. I'm happyt.
>
> I benchmarked a few OO/accessor modules, and Mouse was amongst the  
> slowest ones. IIRC there's a 4:1 performance difference between  
> Mouse and immutable Moose classes (mutable Moose classes is a  
> disaster, a few percent slower than Mouse I think it was). So you  
> make Moose classes immutable.

In this case (Action::RenderView), Mouse is used by Data::Visitor,  
which is used by RenderView just for trimming things out of the debug  
dump, so how fast it is or isn't really a concern, assuming that your  
application isn't an application to show how pretty Catalyst's debug  
dumps are, at least ;_)

Cheers
t0m




More information about the Catalyst mailing list