|
|
|
|
|
by stevan_little
5440 days ago
|
|
Very odd, because for regular methods, Moose does not wrap anything. There is a compile time penalty for Moose overall, but for instance, the Moose generated accessors typically benchmark very well in comparison. They will start to slow down when you add type constraints, but this is essentially extra code you are asking Moose to execute so you can't expect to get it for free. I highly suspect you have been using MooseX::Declare or MooseX::Method::Signatures, both of which have a high performance penalty for method calls. These modules should not be looked at as being Moose, they are optional extensions. |
|